public function __construct(IEntity $parent, PropertyMetadata $metadata) { $this->parent = $parent; $this->metadata = $metadata; }