1 | <?php declare(strict_types=1); |
||
8 | class Inflection implements InflectionInterface |
||
9 | { |
||
10 | use HasPropertiesTrait; |
||
11 | use HasCallsTrait; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $class; |
||
17 | |||
18 | 5 | public function __construct(string $class) |
|
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | 1 | public function getClass(): string |
|
30 | |||
31 | 2 | public function canBeAppliedTo(object $object): bool |
|
35 | } |
||
36 |