1 | <?php |
||
9 | trait ConstructorUrl |
||
10 | { |
||
11 | use VerifyValues; |
||
12 | |||
13 | /** |
||
14 | * Concatenation Url In Curl |
||
15 | * @param $newParameters string |
||
16 | * @return $this |
||
17 | */ |
||
18 | 11 | protected function concatenationUrlCurl($newParameters) |
|
32 | |||
33 | /** |
||
34 | * Contains guid |
||
35 | * @param $guid |
||
36 | * @return $this |
||
37 | */ |
||
38 | 7 | public function guid($guid) |
|
50 | } |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: