EnvironmentCommand::argument()

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

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

EnvironmentCommand

EnvironmentCommand class EnvironmentCommand extends Command (View source) Methods void __construct() Create a new console command instance. from Command 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 silently. from Command string|array argument

EntityResolver::resolve()

mixed resolve(string $type, mixed $id) Resolve the entity for the given ID. Parameters string $type mixed $id Return Value mixed

EntityResolver

EntityResolver interface EntityResolver (View source) Methods mixed resolve(string $type, mixed $id) Resolve the entity for the given ID.

EntityNotFoundException::__construct()

void __construct(string $type, mixed $id) Create a new exception instance. Parameters string $type mixed $id Return Value void

EntityNotFoundException

EntityNotFoundException class EntityNotFoundException extends InvalidArgumentException (View source) Methods void __construct(string $type, mixed $id) Create a new exception instance.

EngineResolver::resolve()

EngineInterface resolve(string $engine) Resolver an engine instance by name. Parameters string $engine Return Value EngineInterface Exceptions InvalidArgumentException

EngineResolver::register()

void register(string $engine, Closure $resolver) Register a new engine resolver. The engine string typically corresponds to a file extension. Parameters string $engine Closure $resolver Return Value void

EngineResolver

EngineResolver class EngineResolver (View source) Methods void register(string $engine, Closure $resolver) Register a new engine resolver. EngineInterface resolve(string $engine) Resolver an engine instance by name.