Sulu\Bundle\ContentBundle\Teaser\TeaserContentType::__construct PHP Метод

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

public __construct ( string $template, Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderPoolInterface $providerPool, Sulu\Bundle\ContentBundle\Teaser\TeaserManagerInterface $teaserManager )
$template string
$providerPool Sulu\Bundle\ContentBundle\Teaser\Provider\TeaserProviderPoolInterface
$teaserManager Sulu\Bundle\ContentBundle\Teaser\TeaserManagerInterface
    public function __construct($template, TeaserProviderPoolInterface $providerPool, TeaserManagerInterface $teaserManager)
    {
        parent::__construct('teaser_selection');
        $this->template = $template;
        $this->teaserProviderPool = $providerPool;
        $this->teaserManager = $teaserManager;
    }