Compiler

Compiler class Compiler (View source) Methods void __construct(Filesystem $files, string $cachePath) Create a new compiler instance. string getCompiledPath(string $path) Get the path to the compiled version of a view. bool isExpired(string $path) Determine if the view at the given path is expired.

Grammar::compileRenameColumn()

array compileRenameColumn(Blueprint $blueprint, Fluent $command, Connection $connection) Compile a rename column command. Parameters Blueprint $blueprint Fluent $command Connection $connection Return Value array

MorphOne::getRelationCountQuery()

Builder getRelationCountQuery(Builder $query, Builder $parent) Get the relationship count query. Parameters Builder $query Builder $parent Return Value Builder

QueueEntityResolver::resolve()

mixed resolve(string $type, mixed $id) Resolve the entity for the given ID. Parameters string $type mixed $id Return Value mixed Exceptions EntityNotFoundException

RetryCommand::error()

void error(string $string) Write a string as error output. Parameters string $string Return Value void

RequestMakeCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

SqlServerGrammar::compileDelete()

string compileDelete(Builder $query) Compile a delete statement into SQL. Parameters Builder $query Return Value string

MySqlGrammar::compileDropIfExists()

string compileDropIfExists(Blueprint $blueprint, Fluent $command) Compile a drop table (if exists) command. Parameters Blueprint $blueprint Fluent $command Return Value string

HasOne::matchOne()

array matchOne(array $models, Collection $results, string $relation) Match the eagerly loaded results to their single parents. Parameters array $models Collection $results string $relation Return Value array

UrlRoutable::getRouteKeyName()

string getRouteKeyName() Get the route key for the model. Return Value string