|
@@ -113,6 +113,12 @@ interface AdminInterface
|
|
|
*/
|
|
|
function getModelManager();
|
|
|
|
|
|
+ /**
|
|
|
+ * @abstract
|
|
|
+ * @return \Sonata\AdminBundle\Datagrid\ProxyQueryInterface
|
|
|
+ */
|
|
|
+ function createQuery($context = 'list');
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* @return \Symfony\Component\Form\FormBuilder the form builder
|
|
@@ -197,7 +203,6 @@ interface AdminInterface
|
|
|
*/
|
|
|
function addFilterFieldDescription($name, FieldDescriptionInterface $fieldDescription);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns a list depend on the given $object
|
|
|
*
|