Revize 343d66a7
Přidáno uživatelem Tomáš Ballák před téměř 5 roky(ů)
website/src/Document/Test.php | ||
---|---|---|
17 | 17 |
* @MongoDB\Field(type="string") |
18 | 18 |
*/ |
19 | 19 |
protected $name; |
20 |
|
|
21 |
public function setName(string $name) { |
|
22 |
$this->name = $name; |
|
23 |
} |
|
24 |
|
|
25 |
public function getName(): string { |
|
26 |
return $this->name; |
|
27 |
} |
|
20 | 28 |
} |
Také k dispozici: Unified diff
new changes