| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Doctrine\Inflector\Rules; |
| 6 |
|
| 7 |
class Word |
| 8 |
{ |
| 9 |
|
| 10 |
private $word; |
| 11 |
|
| 12 |
public function __construct(string $word) |
| 13 |
{ |
| 14 |
$this->word = $word; |
| 15 |
} |
| 16 |
|
| 17 |
public function getWord(): string |
| 18 |
{ |
| 19 |
return $this->word; |
| 20 |
} |
| 21 |
} |