1 | <?php declare(strict_types = 1); |
||
16 | trait PropertyResolverTrait |
||
17 | { |
||
18 | /** |
||
19 | * Generic class property resolver. |
||
20 | * |
||
21 | * @param \ReflectionProperty $property |
||
22 | * @param ClassMetadata $classMetadata |
||
23 | * |
||
24 | * @return PropertyMetadata Resolved property metadata |
||
25 | */ |
||
26 | protected function resolvePropertyMetadata(\ReflectionProperty $property, ClassMetadata $classMetadata) : PropertyMetadata |
||
39 | |||
40 | /** |
||
41 | * Parse property comments and return type hint if present. |
||
42 | * |
||
43 | * @param string $comments Property comments |
||
44 | * |
||
45 | * @return string Property type hint if present |
||
46 | */ |
||
47 | protected function getCommentTypeHint(string $comments) : string |
||
56 | } |
||
57 |