protected function joinColumnToArray(ORM\JoinColumn $joinColumnAnnotation, $propertyName = null)
    {
        return [
            'name' => $joinColumnAnnotation->name === null ? $propertyName : $joinColumnAnnotation->name,
            'unique' => $joinColumnAnnotation->unique,
            'nullable' => $joinColumnAnnotation->nullable,
            'onDelete' => $joinColumnAnnotation->onDelete,
            'columnDefinition' => $joinColumnAnnotation->columnDefinition,
            'referencedColumnName' => $joinColumnAnnotation->referencedColumnName,
        ];
    }
protected function joinColumnToArray(ORM\JoinColumn $joinColumnAnnotation, $propertyName = null)
    {
        return [
            'name' => $joinColumnAnnotation->name === null ? $propertyName : $joinColumnAnnotation->name,
            'unique' => $joinColumnAnnotation->unique,
            'nullable' => $joinColumnAnnotation->nullable,
            'onDelete' => $joinColumnAnnotation->onDelete,
            'columnDefinition' => $joinColumnAnnotation->columnDefinition,
            'referencedColumnName' => $joinColumnAnnotation->referencedColumnName,
        ];
    }
protected function joinColumnToArray ( ORM \ JoinColumn $ joinColumnAnnotation , $ propertyName = null ) { return [ 'name' => $ joinColumnAnnotation -> name === null ? $ propertyName : $ joinColumnAnnotation -> name , 'unique' => $ joinColumnAnnotation -> unique , 'nullable' => $ joinColumnAnnotation -> nullable , 'onDelete' => $ joinColumnAnnotation -> onDelete , 'columnDefinition' => $ joinColumnAnnotation -> columnDefinition , 'referencedColumnName' => $ joinColumnAnnotation -> referencedColumnName , ] ; }
Parse the given JoinColumn into an array

@param ORM\JoinColumn $joinColumnAnnotation
@param string $propertyName
@return array
Parse the given JoinColumn into an array