Elcodi\Admin\CartBundle\Controller\CustomerOrderController::listAction PHP Метод

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

This action is just a wrapper, so should never get any data, as this is component responsibility
public listAction ( Elcodi\Component\User\Entity\Interfaces\CustomerInterface $customer, integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array
$customer Elcodi\Component\User\Entity\Interfaces\CustomerInterface Customer
$page integer Page
$limit integer Limit of items per page
$orderByField string Field to order by
$orderByDirection string Direction to order by
Результат array Result
    public function listAction(CustomerInterface $customer, $page, $limit, $orderByField, $orderByDirection)
    {
        return ['customer' => $customer, 'page' => $page, 'limit' => $limit, 'orderByField' => $orderByField, 'orderByDirection' => $orderByDirection];
    }
CustomerOrderController