public function getTypeOfChildProperty($targetType, $propertyName, PropertyMappingConfigurationInterface $configuration)
    {
        $specificTargetType = $this->objectContainer->getImplementationClassName($targetType);

        if (Core::get()->classExists($specificTargetType)) {
            $propertyTags = $this->reflectionService->getPropertyTagValues($specificTargetType, $propertyName, 'var');

            if (!empty($propertyTags)) {
                return current($propertyTags);
            }
        }

        return parent::getTypeOfChildProperty($targetType, $propertyName, $configuration);
    }
public function getTypeOfChildProperty($targetType, $propertyName, PropertyMappingConfigurationInterface $configuration)
    {
        $specificTargetType = $this->objectContainer->getImplementationClassName($targetType);

        if (Core::get()->classExists($specificTargetType)) {
            $propertyTags = $this->reflectionService->getPropertyTagValues($specificTargetType, $propertyName, 'var');

            if (!empty($propertyTags)) {
                return current($propertyTags);
            }
        }

        return parent::getTypeOfChildProperty($targetType, $propertyName, $configuration);
    }
public function getTypeOfChildProperty ( $ targetType , $ propertyName , PropertyMappingConfigurationInterface $ configuration ) { $ specificTargetType = $ this -> objectContainer -> getImplementationClassName ( $ targetType ) ; if ( Core :: get ( ) -> classExists ( $ specificTargetType ) ) { $ propertyTags = $ this -> reflectionService -> getPropertyTagValues ( $ specificTargetType , $ propertyName , 'var' ) ; if ( ! empty ( $ propertyTags ) ) { return current ( $ propertyTags ) ; } } return parent :: getTypeOfChildProperty ( $ targetType , $ propertyName , $ configuration ) ; }
Will check the type of the given class property, if reflection gives no
result, the parent function is called.

@inheritdoc
Will check the type of the given class property if reflection gives no result the parent function is called .