src/Eloquent/Concerns/IncludesModels.php
protected function load($record, EncodingParametersInterface $parameters)
    {
        $relationshipPaths = $this->getRelationshipPaths($parameters->getIncludePaths());
        $record->loadMissing($relationshipPaths);
    }
protected function load($record, EncodingParametersInterface $parameters)
    {
        $relationshipPaths = $this->getRelationshipPaths($parameters->getIncludePaths());
        $record->loadMissing($relationshipPaths);
    }
protected function load ( $ record , EncodingParametersInterface $ parameters ) { $ relationshipPaths = $ this -> getRelationshipPaths ( $ parameters -> getIncludePaths ( ) ) ; $ record -> loadMissing ( $ relationshipPaths ) ; }
Add eager loading to a record.

@param Model $record
@param EncodingParametersInterface $parameters
Add eager loading to a record .