1 | <?php |
||
18 | class ConflictingMethod extends Method implements ConflictingMethodInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $insteadOf; |
||
24 | |||
25 | 5 | public function __construct($traitName, $name, $insteadOf) |
|
32 | |||
33 | /** |
||
34 | * @inheritdoc |
||
35 | * @return ConflictingMethod |
||
36 | */ |
||
37 | 5 | public function setInsteadOf($traitName) |
|
43 | |||
44 | /** |
||
45 | * @inheritdoc |
||
46 | * @return string |
||
47 | */ |
||
48 | 3 | public function getInsteadOf() |
|
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | 3 | public function toString() |
|
66 | } |
||
67 |