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 80
__construct(Container $container)
Constructor.
at line 90
string
getName()
Returns the package name.
at line 100
string
getFileNamespace()
Returns the package namespace.
at line 116
string
getClassNamespace(bool $prefix = false)
Returns the class namespace.
at line 131
string
getPath()
Returns package path.
at line 146
string
getConfigPath()
Returns the path to the package configuration files.
at line 156
string
getI18nPath()
Returns the path to the package i18n strings.
at line 166
string
getViewPath()
Returns the path to the package views.
at line 176
array
getCommands()
Returns the package commands.
at line 184
protected
bootstrap()
Gets executed at the end of the package boot sequence.
at line 192
boot()
Boots the package.