ModelMakeCommand::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

ModelMakeCommand

ModelMakeCommand class ModelMakeCommand extends GeneratorCommand (View source) Methods void __construct(Filesystem $files) Create a new controller creator command instance. from GeneratorCommand int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silent

ModelIdentifier::__construct()

void __construct(string $class, mixed $id) Create a new model identifier. Parameters string $class mixed $id Return Value void

ModelIdentifier

ModelIdentifier class ModelIdentifier (View source) Properties string $class The class name of the model. mixed $id The unique identifier of the model.

Model::__wakeup()

void __wakeup() When a model is being unserialized, check if it needs to be booted. Return Value void

Model::__unset()

void __unset(string $key) Unset an attribute on the model. Parameters string $key Return Value void

Model::__toString()

string __toString() Convert the model to its string representation. Return Value string

Model::__set()

void __set(string $key, mixed $value) Dynamically set attributes on the model. Parameters string $key mixed $value Return Value void

Model::__isset()

bool __isset(string $key) Determine if an attribute or relation exists on the model. Parameters string $key Return Value bool

Model::__get()

mixed __get(string $key) Dynamically retrieve attributes on the model. Parameters string $key Return Value mixed