public function canCreate(string $className): bool
    {
        return !empty($this->entityManager->getClassMetadata($className)->associationMappings);
    }
public function canCreate(string $className): bool
    {
        return !empty($this->entityManager->getClassMetadata($className)->associationMappings);
    }
public function canCreate ( string $ className ) : bool { return ! empty ( $ this -> entityManager -> getClassMetadata ( $ className ) -> associationMappings ) ; }
Return whether it is possible to create a valid type for join

@param string $className

@return bool
Return whether it is possible to create a valid type for join