public function getField(string $className): array
    {
        $joinsType = $this->types->getFilterGroupJoin($className);

        $joinsField = [
            'name' => 'joins',
            'description' => 'Optional joins to either filter the query or fetch related objects from DB in a single query',
            'type' => $joinsType,
        ];

        return $joinsField;
    }
public function getField(string $className): array
    {
        $joinsType = $this->types->getFilterGroupJoin($className);

        $joinsField = [
            'name' => 'joins',
            'description' => 'Optional joins to either filter the query or fetch related objects from DB in a single query',
            'type' => $joinsType,
        ];

        return $joinsField;
    }
public function getField ( string $ className ) : array { $ joinsType = $ this -> types -> getFilterGroupJoin ( $ className ) ; $ joinsField = [ 'name' => 'joins' , 'description' => 'Optional joins to either filter the query or fetch related objects from DB in a single query' , 'type' => $ joinsType , ] ; return $ joinsField ; }
Get the field for joins

@param string $className

@return array
Get the field for joins