src/Metadata/DoctrineMetadataFactory.php
private function isOrmRelation(array $association)
    {
        return array_key_exists('type', $association) &&
               array_key_exists('fieldName', $association) &&
               is_int($association['type']) &&
               is_string($association['fieldName'])
        ;
    }
private function isOrmRelation(array $association)
    {
        return array_key_exists('type', $association) &&
               array_key_exists('fieldName', $association) &&
               is_int($association['type']) &&
               is_string($association['fieldName'])
        ;
    }
@param array $association

@return bool