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

ClearCommand

ClearCommand class ClearCommand extends Command (View source) Methods void __construct(CacheManager $cache) Create a new cache clear command instance. 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 bool hasArgument(strin

ClassLoader::removeDirectories()

static void removeDirectories(string|array $directories = null) Remove directories from the class loader. Parameters string|array $directories Return Value void

ClassLoader::register()

static void register() Register the given class loader on the auto-loader stack. Return Value void

ClassLoader::normalizeClass()

static string normalizeClass(string $class) Get the normal file name for a class. Parameters string $class Return Value string

ClassLoader::load()

static bool load(string $class) Load the given class file. Parameters string $class Return Value bool

ClassLoader::getDirectories()

static array getDirectories() Gets all the directories registered with the loader. Return Value array

ClassLoader::addDirectories()

static void addDirectories(string|array $directories) Add directories to the class loader. Parameters string|array $directories Return Value void

ClassLoader

ClassLoader class ClassLoader (View source) Methods static bool load(string $class) Load the given class file. static string normalizeClass(string $class) Get the normal file name for a class. static void register() Register the given class loader on the auto-loader stack. static void addDirectories(string|array $directories) Add directories to the class loader. static void removeDirectories(string|array $directories = null) Remove directories from the class loader.

ClassFinder::findClasses()

array findClasses(string $directory) Find all the class and interface names in a given directory. Parameters string $directory Return Value array