PHP Class Sylius\Bundle\CoreBundle\Collector\SyliusCollector

Author: Kamil Kokot ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
Exibir arquivo Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Core\Context\ShopperContextInterface $shopperContext, array $bundles, string $defaultLocaleCode )
collect ( Request $request, Response $response, Exception $exception = null )
getCurrencyCode ( ) : string
getDefaultCurrencyCode ( ) : string
getDefaultLocaleCode ( ) : string
getExtensions ( ) : array
getLocaleCode ( ) : string
getName ( )
getVersion ( ) : string

Method Details

__construct() public method

public __construct ( Sylius\Component\Core\Context\ShopperContextInterface $shopperContext, array $bundles, string $defaultLocaleCode )
$shopperContext Sylius\Component\Core\Context\ShopperContextInterface
$bundles array
$defaultLocaleCode string

collect() public method

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

getCurrencyCode() public method

public getCurrencyCode ( ) : string
return string

getDefaultCurrencyCode() public method

public getDefaultCurrencyCode ( ) : string
return string

getDefaultLocaleCode() public method

public getDefaultLocaleCode ( ) : string
return string

getExtensions() public method

public getExtensions ( ) : array
return array

getLocaleCode() public method

public getLocaleCode ( ) : string
return string

getName() public method

public getName ( )

getVersion() public method

public getVersion ( ) : string
return string