Pheasant\Collection::includes PHP Method

includes() public method

Eager load relationships to avoid the N+1 problem
public includes ( $rels )
    public function includes($rels)
    {
        foreach (Relationship::normalizeMap($rels) as $alias => $nested) {
            $this->_includes[$alias] = new Relationships\Includer($this->_query, $this->_schema->relationship($alias), $nested);
        }
        return $this;
    }