Sonata\BasketBundle\Form\ApiBasketType::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( string $class, CurrencyFormType $currencyFormType )
$class string An entity data class
$currencyFormType Sonata\Component\Currency\CurrencyFormType A Sonata ecommerce currency form type
    public function __construct($class, CurrencyFormType $currencyFormType)
    {
        $this->class = $class;
        $this->currencyFormType = $currencyFormType;
    }