public function optionsAction($name) {

        $dtProvider = $this->getDataTablesProvider($name);

        $dtWrapper = $this->getDataTablesWrapper($dtProvider);

        $dtOptions = DataTablesWrapperHelper::getOptions($dtWrapper);

        return new JsonResponse($dtOptions);
    }
public function optionsAction($name) {

        $dtProvider = $this->getDataTablesProvider($name);

        $dtWrapper = $this->getDataTablesWrapper($dtProvider);

        $dtOptions = DataTablesWrapperHelper::getOptions($dtWrapper);

        return new JsonResponse($dtOptions);
    }
public function optionsAction ( $ name ) { $ dtProvider = $ this -> getDataTablesProvider ( $ name ) ; $ dtWrapper = $ this -> getDataTablesWrapper ( $ dtProvider ) ; $ dtOptions = DataTablesWrapperHelper :: getOptions ( $ dtWrapper ) ; return new JsonResponse ( $ dtOptions ) ; }
Options of a DataTables.

@param string $name The provider name.
@return Response Returns a response.
@throws UnregisteredDataTablesProviderException Throws an unregistered provider exception.
Options of a DataTables .