src/Sulu/Component/Rest/ListBuilder/Doctrine/FieldDescriptor/DoctrineConcatenationFieldDescriptor.php
public function getJoins()
    {
        $joins = [];

        foreach ($this->fieldDescriptors as $fieldDescriptor) {
            $joins = array_merge($joins, $fieldDescriptor->getJoins());
        }

        return $joins;
    }
public function getJoins()
    {
        $joins = [];

        foreach ($this->fieldDescriptors as $fieldDescriptor) {
            $joins = array_merge($joins, $fieldDescriptor->getJoins());
        }

        return $joins;
    }
public function getJoins ( ) { $ joins = [ ] ; foreach ( $ this -> fieldDescriptors as $ fieldDescriptor ) { $ joins = array_merge ( $ joins , $ fieldDescriptor -> getJoins ( ) ) ; } return $ joins ; }
Returns all the joins required for this field.

@return DoctrineJoinDescriptor[]
Returns all the joins required for this field .