PHP Class Sylius\Bundle\ChannelBundle\Collector\ChannelCollector

Author: Kamil Kokot ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
ファイルを表示 Open project: sylius/sylius

Public Methods

Method Description
__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

Method Details

__construct() public method

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 method

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

getChannel() public method

public getChannel ( ) : Sylius\Component\Channel\Model\ChannelInterface
return Sylius\Component\Channel\Model\ChannelInterface

getChannels() public method

public getChannels ( ) : Sylius\Component\Channel\Model\ChannelInterface[]
return Sylius\Component\Channel\Model\ChannelInterface[]

getName() public method

public getName ( )

isChannelChangeSupported() public method