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

PolicyMakeCommand

PolicyMakeCommand class PolicyMakeCommand 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 sile

Pluralizer::singular()

static string singular(string $value) Get the singular form of an English word. Parameters string $value Return Value string

Pluralizer::plural()

static string plural(string $value, int $count = 2) Get the plural form of an English word. Parameters string $value int $count Return Value string

Pluralizer

Pluralizer class Pluralizer (View source) Properties static array $uncountable Uncountable word forms.

Pivot::__wakeup()

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

Pivot::__unset()

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

Pivot::__toString()

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

Pivot::__set()

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

Pivot::__isset()

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