src/Padawan/Domain/Completer/ObjectCompleter.php 1 location
|
@@ 78-85 (lines=8) @@
|
| 75 |
|
); |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
protected function createEntryForProperty(ClassProperty $prop) |
| 79 |
|
{ |
| 80 |
|
$type = $prop->type instanceof FQCN ? $prop->type->getClassName() : 'mixed'; |
| 81 |
|
return new Entry( |
| 82 |
|
$prop->name, |
| 83 |
|
$type |
| 84 |
|
); |
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
/** @property LoggerInterface */ |
| 88 |
|
private $logger; |
src/Padawan/Domain/Completer/StaticCompleter.php 1 location
|
@@ 83-90 (lines=8) @@
|
| 80 |
|
); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
protected function createEntryForProperty(ClassProperty $prop) |
| 84 |
|
{ |
| 85 |
|
$type = $prop->type instanceof FQCN ? $prop->type->toString() : 'mixed'; |
| 86 |
|
return new Entry( |
| 87 |
|
'$' . $prop->name, |
| 88 |
|
$type |
| 89 |
|
); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
protected function createEntryForConst($const) |
| 93 |
|
{ |