Elcodi\Admin\BannerBundle\Controller\BannerController::listAction PHP Метод

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

This action is just a wrapper, so should never get any data, as this is component responsibility
public listAction ( Request $request, integer $page, integer $limit, string $orderByField, string $orderByDirection ) : array
$request Symfony\Component\HttpFoundation\Request Request
$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(Request $request, $page, $limit, $orderByField, $orderByDirection)
    {
        return ['page' => $page, 'limit' => $limit, 'orderByField' => $orderByField, 'orderByDirection' => $orderByDirection];
    }