1 | <?php |
||
18 | abstract class BasePresenter implements Presenter |
||
19 | { |
||
20 | /** |
||
21 | * @var ApiProblem |
||
22 | */ |
||
23 | protected $apiProblem; |
||
24 | |||
25 | /** |
||
26 | * PresenterInterface constructor. |
||
27 | * |
||
28 | * @param ApiProblem $apiProblem |
||
29 | */ |
||
30 | public function __construct(ApiProblem $apiProblem) |
||
34 | |||
35 | /** |
||
36 | * Returns value for `apiProblem`. |
||
37 | * |
||
38 | * @return ApiProblem |
||
39 | */ |
||
40 | public function apiProblem() |
||
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | public function __toString() |
||
52 | |||
53 | /** |
||
54 | * @return array |
||
55 | */ |
||
56 | protected function buildContent() |
||
73 | } |
||
74 |