| 1 | <?php |
||
| 8 | class TraitOperationUnary extends Operation |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $file; |
||
| 14 | /** |
||
| 15 | * @var \PhpParser\Node\Stmt\Trait_ |
||
| 16 | */ |
||
| 17 | protected $trait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $file |
||
| 21 | * @param \PhpParser\Node\Stmt\Trait_ $trait |
||
| 22 | */ |
||
| 23 | 3 | public function __construct($file, Trait_ $trait) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getLocation() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return int |
||
| 39 | */ |
||
| 40 | public function getLine() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 2 | public function getTarget() |
|
| 52 | } |
||
| 53 |