PHP Класс Sylius\Bundle\ChannelBundle\Collector\ChannelCollector

Автор: Kamil Kokot ([email protected])
Наследование: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, boolean $channelChangeSupport = false )
collect ( Request $request, Response $response, Exception $exception = null )
getChannel ( ) : Sylius\Component\Channel\Model\ChannelInterface
getChannels ( ) : Sylius\Component\Channel\Model\ChannelInterface[]
getName ( )
isChannelChangeSupported ( ) : boolean

Описание методов

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

public __construct ( Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Component\Channel\Context\ChannelContextInterface $channelContext, boolean $channelChangeSupport = false )
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface
$channelContext Sylius\Component\Channel\Context\ChannelContextInterface
$channelChangeSupport boolean

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

public collect ( Request $request, Response $response, Exception $exception = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$exception Exception

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

public getChannel ( ) : Sylius\Component\Channel\Model\ChannelInterface
Результат Sylius\Component\Channel\Model\ChannelInterface

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

public getChannels ( ) : Sylius\Component\Channel\Model\ChannelInterface[]
Результат Sylius\Component\Channel\Model\ChannelInterface[]

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

public getName ( )

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

public isChannelChangeSupported ( ) : boolean
Результат boolean