1 | <?php |
||
8 | abstract class FlyCrud extends AbstractEntity implements EntityInterface |
||
9 | { |
||
10 | /** |
||
11 | * Returns the fly-crud repository. |
||
12 | * |
||
13 | * @return \FlyCrud\Repository |
||
14 | */ |
||
15 | abstract protected function getRepository(); |
||
16 | |||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | public function search(SearchQuery $search) |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function create(array $data) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function read($id) |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function update($id, array $data) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function delete($id) |
||
80 | |||
81 | /** |
||
82 | * Returns the id for the new documents |
||
83 | * Useful to customize the id before save. |
||
84 | * |
||
85 | * @param Document $document |
||
86 | * |
||
87 | * @return string |
||
88 | */ |
||
89 | protected function generateId(Document $document) |
||
93 | } |
||
94 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.