Source of file WidgetTheme.php
Size: 0,526 Bytes - Last Modified: 2020-10-24T02:46:31+00:00
/home/travis/build/NextDom/nextdom-core/src/Model/DataClass/WidgetTheme.php
123456789101112131415161718192021222324252627282930313233 | <?php namespace NextDom\Model\DataClass; class WidgetTheme { private $icon; private $code; public function __construct(string $icon) { $this->icon = $icon; $iconFilename = basename($icon); $this->code = substr($iconFilename, 0, strpos($iconFilename, '.')); } /** * @return string */ public function getIcon() { return $this->icon; } /** * @return string */ public function getCode() { return $this->code; } } |