Package
abstract class Package
Package.
Properties
protected Container | $container | Container. | |
protected string | $packageName | Package name. | |
protected string | $path | Package path. | |
protected string | $fileNamespace | File namespace. | |
protected string | $classNamespace | Class namespace. | |
protected array | $commands | Commands. |
Methods
string
getName()
Returns the package name.
string
getFileNamespace()
Returns the package namespace.
string
getClassNamespace(bool $prefix = false)
Returns the class namespace.
string
getPath()
Returns package path.
string
getConfigPath()
Returns the path to the package configuration files.
string
getI18nPath()
Returns the path to the package i18n strings.
string
getViewPath()
Returns the path to the package views.
array
getCommands()
Returns the package commands.
bootstrap()
Gets executed at the end of the package boot sequence.
boot()
Boots the package.
Details
at line 78
__construct(Container $container)
Constructor.
at line 88
string
getName()
Returns the package name.
at line 98
string
getFileNamespace()
Returns the package namespace.
at line 114
string
getClassNamespace(bool $prefix = false)
Returns the class namespace.
at line 129
string
getPath()
Returns package path.
at line 144
string
getConfigPath()
Returns the path to the package configuration files.
at line 154
string
getI18nPath()
Returns the path to the package i18n strings.
at line 164
string
getViewPath()
Returns the path to the package views.
at line 174
array
getCommands()
Returns the package commands.
at line 182
protected
bootstrap()
Gets executed at the end of the package boot sequence.
at line 190
boot()
Boots the package.