functions.php
option_bool()
option_bool(string $name, InputInterface $input) : bool
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
option_bool_nullable()
option_bool_nullable(string $name, InputInterface $input) : bool|null
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
option_string()
option_string(string $name, InputInterface $input[, string|null $default = null ]) : string
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
-
$default
: string|null
= null
-
option_string_nullable()
option_string_nullable(string $name, InputInterface $input) : string|null
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
Return values
string|null
option_int()
option_int(string $name, InputInterface $input[, int|null $default = null ]) : int
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
-
$default
: int|null
= null
-
option_int_nullable()
option_int_nullable(string $name, InputInterface $input) : int|null
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
option_list_of_strings()
option_list_of_strings(string $name, InputInterface $input) : array<string|int, mixed>
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
Return values
array<string|int, mixed>
option_list_of_strings_nullable()
option_list_of_strings_nullable(string $name, InputInterface $input) : array<string|int, mixed>|null
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
Return values
array<string|int, mixed>|null
argument_string()
argument_string(string $name, InputInterface $input) : string
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
argument_string_nullable()
argument_string_nullable(string $name, InputInterface $input) : string|null
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
Return values
string|null
option_include_file()
option_include_file(string $name, InputInterface $input, ExpextedClass> $expectedClass) : object
Parameters
-
$name
: string
-
-
$input
: InputInterface
-
-
$expectedClass
: ExpextedClass>
-
-
template
-