PHP Class Sonata\ProductBundle\Controller\ProductVariationAdminController

Inheritance: extends Sonata\AdminBundle\Controller\CRUDController
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
createAction ( Request $request = null ) : RedirectResponse | Response

Protected Methods

Method Description
getProductManager ( ) : EntityManager Return the Product manager.
getProductPool ( ) : Pool Return the Product Pool.
getTranslator ( ) : Symfony\Bundle\FrameworkBundle\Translation\Translator Return the Product Pool.

Method Details

createAction() public method

public createAction ( Request $request = null ) : RedirectResponse | Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\RedirectResponse | Symfony\Component\HttpFoundation\Response

getProductManager() protected method

Return the Product manager.
protected getProductManager ( ) : EntityManager
return Doctrine\ORM\EntityManager

getProductPool() protected method

Return the Product Pool.
protected getProductPool ( ) : Pool
return Sonata\Component\Product\Pool

getTranslator() protected method

Return the Product Pool.
protected getTranslator ( ) : Symfony\Bundle\FrameworkBundle\Translation\Translator
return Symfony\Bundle\FrameworkBundle\Translation\Translator