Sulu\Component\Content\SimpleContentType::__construct PHP Метод

__construct() публичный Метод

public __construct ( $name, $defaultValue = null )
    public function __construct($name, $defaultValue = null)
    {
        $this->name = $name;
        $this->defaultValue = $defaultValue;
    }

Usage Example

Пример #1
0
 /**
  * @param string $template
  * @param TeaserProviderPoolInterface $providerPool
  * @param TeaserManagerInterface $teaserManager
  */
 public function __construct($template, TeaserProviderPoolInterface $providerPool, TeaserManagerInterface $teaserManager)
 {
     parent::__construct('teaser_selection');
     $this->template = $template;
     $this->teaserProviderPool = $providerPool;
     $this->teaserManager = $teaserManager;
 }
All Usage Examples Of Sulu\Component\Content\SimpleContentType::__construct