User::hasOne()

HasOne hasOne(string $related, string $foreignKey = null, string $localKey = null) Define a one-to-one relationship. Parameters string $related string $foreignKey string $localKey Return Value HasOne

User::removeObservableEvents()

void removeObservableEvents(array|mixed $observables) Remove an observable event name. Parameters array|mixed $observables Return Value void

MiddlewareMakeCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

ClearCommand::callSilent()

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

ArtisanServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

MailgunTransport::registerPlugin()

void registerPlugin(Swift_Events_EventListener $plugin) Register a plug-in with the transport. Parameters Swift_Events_EventListener $plugin Return Value void

AuthServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array

JobMakeCommand::call()

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

ModelMakeCommand::hasArgument()

bool hasArgument(string|int $name) Determine if the given argument is present. Parameters string|int $name Return Value bool

ConnectionInterface::raw()

Expression raw(mixed $value) Get a new raw query expression. Parameters mixed $value Return Value Expression