PHP Class Aimeos\ShopBundle\Service\Config

Show file Open project: aimeos/aimeos-symfony2

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\Container $container ) Initializes the object
get ( string $type = 'frontend' ) : Aimeos\MW\Config\Iface Returns the config object

Method Details

__construct() public method

Initializes the object
public __construct ( Symfony\Component\DependencyInjection\Container $container )
$container Symfony\Component\DependencyInjection\Container Container object to access parameters

get() public method

Returns the config object
public get ( string $type = 'frontend' ) : Aimeos\MW\Config\Iface
$type string Configuration type ("frontend" or "backend")
return Aimeos\MW\Config\Iface Config object