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.
array compileRenameColumn(Blueprint $blueprint, Fluent $command, Connection $connection) Compile a rename column command. Parameters Blueprint $blueprint Fluent $command Connection $connection Return Value array
Builder getRelationCountQuery(Builder $query, Builder $parent) Get the relationship count query. Parameters Builder $query Builder $parent Return Value Builder
mixed resolve(string $type, mixed $id) Resolve the entity for the given ID. Parameters string $type mixed $id Return Value mixed Exceptions EntityNotFoundException
void error(string $string) Write a string as error output. Parameters string $string Return Value void
int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int
string compileDelete(Builder $query) Compile a delete statement into SQL. Parameters Builder $query Return Value string
string compileDropIfExists(Blueprint $blueprint, Fluent $command) Compile a drop table (if exists) command. Parameters Blueprint $blueprint Fluent $command Return Value string
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
string getRouteKeyName() Get the route key for the model. Return Value string
Page 520 of 996