src/Pckg/Database/Query/Helper/With.php
public function fillRecordWithRelations(Record $record)
    {
        foreach ($this->getWith() as $relation) {
            $relation->fillRecord($record);
        }

        return $record;
    }
public function fillRecordWithRelations(Record $record)
    {
        foreach ($this->getWith() as $relation) {
            $relation->fillRecord($record);
        }

        return $record;
    }
public function fillRecordWithRelations ( Record $ record ) { foreach ( $ this -> getWith ( ) as $ relation ) { $ relation -> fillRecord ( $ record ) ; } return $ record ; }
Fill record with all it's relations.

@param Record $record

@return Record
Fill record with all it s relations .