1 | <?php |
||
10 | abstract class View implements ViewInterface, Arrayable |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $with = []; |
||
16 | |||
17 | /** |
||
18 | * @var RepositoryInterface |
||
19 | */ |
||
20 | protected $repository; |
||
21 | |||
22 | protected $scopes = []; |
||
23 | |||
24 | public function setRepository(RepositoryInterface $repository) |
||
30 | |||
31 | public function getRepository() |
||
35 | |||
36 | /** |
||
37 | * @return string[] |
||
38 | */ |
||
39 | public function getWith() |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function with($relations) |
||
53 | |||
54 | public function getQuery() |
||
67 | |||
68 | /** |
||
69 | * Add an "order by" clause to the query. |
||
70 | * |
||
71 | * @param string $column |
||
72 | * @param string $direction |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function orderBy($column, $direction = 'asc') |
||
81 | |||
82 | public function toArray() |
||
86 | } |
||
87 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.