1 | <?php |
||
7 | class Scope implements ScopeEntityInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $identifier; |
||
13 | |||
14 | /** |
||
15 | * @return mixed |
||
16 | */ |
||
17 | public function getIdentifier() |
||
21 | |||
22 | /** |
||
23 | * @param mixed $identifier |
||
24 | */ |
||
25 | public function setIdentifier($identifier) |
||
29 | |||
30 | /** |
||
31 | * @return mixed |
||
32 | */ |
||
33 | function jsonSerialize() |
||
37 | } |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.