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