BcryptHasher

BcryptHasher class BcryptHasher implements Hasher (View source) Methods string make(string $value, array $options = array()) Hash the given value. bool check(string $value, string $hashedValue, array $options = array()) Check the given plain value against a hash. bool needsRehash(string $hashedValue, array $options = array()) Check if the given hash has been hashed using the given options. $this setRounds(int $rounds) Set the default password work factor.

BaseCommand::__construct()

void __construct() Create a new console command instance. Return Value void

BaseCommand::warn()

void warn(string $string, null|int|string $verbosity = null) Write a string as warning output. Parameters string $string null|int|string $verbosity Return Value void

BaseCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

BaseCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

BaseCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

BaseCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

BaseCommand::question()

void question(string $string, null|int|string $verbosity = null) Write a string as question output. Parameters string $string null|int|string $verbosity Return Value void

BaseCommand::options()

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

BaseCommand::option()

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