Pivot::__unset()

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

Pivot::__wakeup()

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

Pluralizer

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

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::singular()

static string singular(string $value) Get the singular form of an English word. Parameters string $value 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

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::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array

PolicyMakeCommand::arguments()

array arguments() Get all of the arguments passed to the command. Return Value array

PolicyMakeCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string