Elcodi\Admin\CartBundle\Controller\Component\CustomerOrderComponentController::editComponentAction PHP Method

editComponentAction() public method

As a component, this action should not return all the html macro, but only the specific component
public editComponentAction ( Elcodi\Component\Cart\Entity\Interfaces\OrderInterface $order ) : array
$order Elcodi\Component\Cart\Entity\Interfaces\OrderInterface Order
return array Result
    public function editComponentAction(OrderInterface $order)
    {
        return ['order' => $order];
    }
CustomerOrderComponentController