PHP Class Sonata\Component\Product\ProductDefinition

显示文件 Open project: sonata-project/ecommerce Class Usage Examples

Protected Properties

Property Type Description
$manager Sonata\Component\Product\ProductManagerInterface
$provider Sonata\Component\Product\ProductProviderInterface

Public Methods

Method Description
__construct ( Sonata\Component\Product\ProductProviderInterface $provider, Sonata\Component\Product\ProductManagerInterface $manager )
getManager ( ) : Sonata\Component\Product\ProductManagerInterface
getProvider ( ) : Sonata\Component\Product\ProductProviderInterface

Method Details

__construct() public method

public __construct ( Sonata\Component\Product\ProductProviderInterface $provider, Sonata\Component\Product\ProductManagerInterface $manager )
$provider Sonata\Component\Product\ProductProviderInterface
$manager Sonata\Component\Product\ProductManagerInterface

getManager() public method

public getManager ( ) : Sonata\Component\Product\ProductManagerInterface
return Sonata\Component\Product\ProductManagerInterface

getProvider() public method

public getProvider ( ) : Sonata\Component\Product\ProductProviderInterface
return Sonata\Component\Product\ProductProviderInterface

Property Details

$manager protected_oe property

protected ProductManagerInterface,Sonata\Component\Product $manager
return Sonata\Component\Product\ProductManagerInterface

$provider protected_oe property

protected ProductProviderInterface,Sonata\Component\Product $provider
return Sonata\Component\Product\ProductProviderInterface