mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-19 18:00:51 +08:00
Removed re-declaration of $preload from Application
This commit is contained in:
@ -84,10 +84,6 @@ abstract class Application extends Module
|
||||
* @see language
|
||||
*/
|
||||
public $sourceLanguage = 'en_US';
|
||||
/**
|
||||
* @var array IDs of the components that need to be loaded when the application starts.
|
||||
*/
|
||||
public $preload = [];
|
||||
/**
|
||||
* @var Controller the currently active controller instance
|
||||
*/
|
||||
|
@ -41,7 +41,7 @@ abstract class Module extends Component
|
||||
*/
|
||||
public $params = [];
|
||||
/**
|
||||
* @var array the IDs of the components or modules that should be preloaded when this module is created.
|
||||
* @var array the IDs of the components or modules that should be preloaded right after initialization.
|
||||
*/
|
||||
public $preload = [];
|
||||
/**
|
||||
|
Reference in New Issue
Block a user