src/ModelFilter.php
public function getAllRelations()
    {
        if (count($this->allRelations) === 0) {
            $allRelations = array_merge(array_keys($this->relations), array_keys($this->localRelatedFilters));

            foreach ($allRelations as $related) {
                $this->allRelations[$related] = array_merge($this->getLocalRelation($related), $this->getRelatedFilterInput($related));
            }
        }

        return $this->allRelations;
    }
public function getAllRelations()
    {
        if (count($this->allRelations) === 0) {
            $allRelations = array_merge(array_keys($this->relations), array_keys($this->localRelatedFilters));

            foreach ($allRelations as $related) {
                $this->allRelations[$related] = array_merge($this->getLocalRelation($related), $this->getRelatedFilterInput($related));
            }
        }

        return $this->allRelations;
    }
public function getAllRelations ( ) { if ( count ( $ this -> allRelations ) === 0 ) { $ allRelations = array_merge ( array_keys ( $ this -> relations ) , array_keys ( $ this -> localRelatedFilters ) ) ; foreach ( $ allRelations as $ related ) { $ this -> allRelations [ $ related ] = array_merge ( $ this -> getLocalRelation ( $ related ) , $ this -> getRelatedFilterInput ( $ related ) ) ; } } return $ this -> allRelations ; }
Returns all local relations and relations requiring other Model's Filter's.
@return array
Returns all local relations and relations requiring other Model s Filter s .