| 1 | <?php |
||
| 11 | class FragmentReference |
||
| 12 | { |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | protected $name; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * FragmentReference constructor. |
||
| 19 | * @param $name |
||
| 20 | */ |
||
| 21 | 3 | public function __construct($name) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 1 | public function getName() |
|
| 30 | { |
||
| 31 | 1 | return $this->name; |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $name |
||
| 36 | */ |
||
| 37 | public function setName($name) |
||
| 41 | |||
| 42 | |||
| 43 | } |