Class Namespaces

Summary

Fully Qualified Name: CodeIgniter\Commands\Utilities\Namespaces
Extends: BaseCommand

Description

Lists namespaces set in Config\Autoload with their full server path. Helps you to verify that you have the namespaces setup correctly.

Methods

Name Description Defined By
__construct() BaseCommand constructor. BaseCommand
__get() Makes it simple to access our protected properties. BaseCommand
__isset() Makes it simple to check our protected properties. BaseCommand
getPad() Get pad for $key => $value array output BaseCommand
run() Displays the help for the spark cli script itself. Namespaces
showHelp() show Help include (usage,arguments,description,options) BaseCommand

Method Details

__construct()

BaseCommand constructor.

Parameter Name Type Description
$logger \Psr\Log\LoggerInterface
$commands \CodeIgniter\CLI\CommandRunner

Returns:

__get()

Makes it simple to access our protected properties.

Parameter Name Type Description
$key string

Returns: mixed

__isset()

Makes it simple to check our protected properties.

Parameter Name Type Description
$key string

Returns: bool

getPad()

Get pad for $key => $value array output

Parameter Name Type Description
$array array
$pad int

Returns: int

run()

Displays the help for the spark cli script itself.

Parameter Name Type Description
$params array

Returns:

showHelp()

show Help include (usage,arguments,description,options)

Returns:

Top