yii\base\Object::init PHP Method

init() public method

This method is invoked at the end of the constructor after the object is initialized with the given configuration.
public init ( )
    public function init()
    {
    }

Usage Example

示例#1
0
文件: Pubu.php 项目: lxpgw/logger
 /**
  * {@inheritdoc}
  */
 public function init()
 {
     parent::init();
     if (is_null($this->remote)) {
         throw new InvalidConfigException('$remote must be set.');
     }
 }
All Usage Examples Of yii\base\Object::init