Sulu\Component\Content\SimpleContentType::__construct PHP Method

__construct() public method

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

Usage Example

コード例 #1
0
ファイル: TeaserContentType.php プロジェクト: sulu/sulu
 /**
  * @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