Input::isInteractive()

bool isInteractive() Is this input means interactive? Return Value bool

Input::getOption()

mixed getOption(string $name) Returns the option value for a given option name. Parameters string $name The option name Return Value mixed The option value Exceptions InvalidArgumentException When option given doesn't exist

Input::getArgument()

mixed getArgument(string $name) Returns the argument value for a given argument name. Parameters string $name The argument name Return Value mixed The argument value Exceptions InvalidArgumentException When argument given doesn't exist

Input

class Input implements InputInterface Input is the base class for all concrete Input classes. Three concrete classes are provided by default: ArgvInput: The input comes from the CLI arguments (argv) StringInput: The input is provided as a string ArrayInput: The input is provided as an array Methods __construct(InputDefinition $definition = null) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. validate() Va

Input::getArguments()

array getArguments() Returns all the given arguments merged with the default values. Return Value array

Input::escapeToken()

string escapeToken(string $token) Escapes a token through escapeshellarg if it contains unsafe chars. Parameters string $token Return Value string

Input::bind()

bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. Parameters InputDefinition $definition A InputDefinition instance

InMemoryUserProvider::loadUserByUsername()

UserInterface loadUserByUsername(string $username) Loads the user for the given username. This method must throw UsernameNotFoundException if the user is not found. Parameters string $username The username Return Value UserInterface Exceptions UsernameNotFoundException if the user is not found

InMemoryUserProvider::supportsClass()

bool supportsClass(string $class) Whether this provider supports the given user class. Parameters string $class Return Value bool

InMemoryUserProvider::refreshUser()

UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map. Parameters UserInterface $user Return Value UserInterface Exceptions UnsupportedUserException if the account is not supported