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

ClearCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

ClassLoader::load()

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

ClassLoader::addDirectories()

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

ClassLoader::getDirectories()

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

ClassLoader::register()

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

ClassLoader::removeDirectories()

static void removeDirectories(string|array $directories = null) Remove directories from 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.

ClassLoader::normalizeClass()

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

ClassFinder::findClasses()

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