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 | protected $type; |
||
25 | |||
26 | public function __construct() |
||
30 | |||
31 | public function setRepository(RepositoryInterface $repository) |
||
38 | |||
39 | public function getRepository() |
||
43 | |||
44 | /** |
||
45 | * @return string[] |
||
46 | */ |
||
47 | public function getWith() |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function with($relations) |
||
61 | |||
62 | public function getQuery() |
||
75 | |||
76 | /** |
||
77 | * Add an "order by" clause to the query. |
||
78 | * |
||
79 | * @param string $column |
||
80 | * @param string $direction |
||
81 | * @return $this |
||
82 | */ |
||
83 | public function orderBy($column, $direction = 'asc') |
||
91 | |||
92 | public function toArray() |
||
98 | } |
||
99 |
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.