public function create()
    {
        /**
         * @var CartLine $cartLine
         */
        $classNamespace = $this->getEntityNamespace();
        $cartLine = new $classNamespace();
        $cartLine
            ->setAmount($this->createZeroAmountMoney())
            ->setPurchasableAmount($this->createZeroAmountMoney());

        return $cartLine;
    }
public function create()
    {
        /**
         * @var CartLine $cartLine
         */
        $classNamespace = $this->getEntityNamespace();
        $cartLine = new $classNamespace();
        $cartLine
            ->setAmount($this->createZeroAmountMoney())
            ->setPurchasableAmount($this->createZeroAmountMoney());

        return $cartLine;
    }
public function create ( ) { /**
         * @var CartLine $cartLine
         */ $ classNamespace = $ this -> getEntityNamespace ( ) ; $ cartLine = new $ classNamespace ( ) ; $ cartLine -> setAmount ( $ this -> createZeroAmountMoney ( ) ) -> setPurchasableAmount ( $ this -> createZeroAmountMoney ( ) ) ; return $ cartLine ; }
Creates an instance of CartLine.

@return CartLine New CartLine entity
Creates an instance of CartLine .