1 | <?php namespace Syntax\SteamApi\Containers; |
||
6 | abstract class BaseContainer { |
||
7 | |||
8 | /** |
||
9 | * @param $app |
||
10 | * @param string $field |
||
11 | * @param mixed $value |
||
12 | * |
||
13 | * @return mixed |
||
14 | */ |
||
15 | protected function checkIsNullField($app, $field, $value = null) |
||
19 | |||
20 | /** |
||
21 | * @param $app |
||
22 | * @param string $field |
||
23 | * @param mixed $value |
||
24 | * |
||
25 | * @return mixed |
||
26 | */ |
||
27 | protected function checkIssetField($app, $field, $value = null) |
||
31 | |||
32 | /** |
||
33 | * @param $app |
||
34 | * @param string $field |
||
35 | * @param mixed $value |
||
36 | * |
||
37 | * @return mixed |
||
38 | */ |
||
39 | protected function checkIssetCollection($app, $field, $value = null) |
||
43 | |||
44 | /** |
||
45 | * @param string $image |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | protected function getImageForAvatar($image) |
||
53 | |||
54 | } |