| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class InheritanceReferencePropertyDescriptor extends ScalarBeanPropertyDescriptor |
||
| 14 | { |
||
| 15 | /** @var AbstractBeanPropertyDescriptor */ |
||
| 16 | private $referencedPropertyDescriptor; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | Table $table, |
||
| 20 | Column $column, |
||
| 21 | NamingStrategyInterface $namingStrategy, |
||
| 22 | AnnotationParser $annotationParser, |
||
| 23 | AbstractBeanPropertyDescriptor $referencedPropertyDescriptor |
||
| 24 | ) { |
||
| 25 | parent::__construct($table, $column, $namingStrategy, $annotationParser); |
||
| 26 | $this->referencedPropertyDescriptor = $referencedPropertyDescriptor; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return ScalarBeanPropertyDescriptor|ObjectBeanPropertyDescriptor |
||
| 31 | */ |
||
| 32 | public function getNonScalarReferencedPropertyDescriptor(): AbstractBeanPropertyDescriptor |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getJsonSerializeCode(): string |
||
| 43 | } |
||
| 44 | } |
||
| 45 |