| 1 | <?php |
||
| 8 | class PropertyParser { |
||
| 9 | |||
| 10 | public function __construct(CommentParser $commentParser) { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Parses Property node to ClassProperty |
||
| 16 | * |
||
| 17 | * @param $node Property |
||
| 18 | * |
||
| 19 | * @return ClassProperty |
||
| 20 | */ |
||
| 21 | public function parse(Property $node, $modifier = 0, $comments = null) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var CommentParser |
||
| 42 | */ |
||
| 43 | private $commentParser; |
||
| 44 | } |
||
| 45 |