add('client') ->add('user') ->add('token') ->add('redirectUri') ->add('expiresAt') ->add('scope') ; } /** * @param DatagridMapper $datagridMapper */ protected function configureDatagridFilters(DatagridMapper $datagridMapper) { $datagridMapper ->add('id') ->add('client') ->add('user') ->add('token') ->add('redirectUri') ->add('expiresAt') ->add('scope') ; } /** * @param ListMapper $listMapper */ protected function configureListFields(ListMapper $listMapper) { unset($this->listModes['mosaic']); $listMapper ->addIdentifier('id') ->add('client') ->add('user') ->add('token') ->add('redirectUri') ->add('expiresAt') ->add('scope') ; } /** * @param RouteCollection $collection */ protected function configureRoutes(RouteCollection $collection) { parent::configureRoutes($collection); $collection->remove('delete'); } }