yii\base\Object::init PHP Метод

init() публичный Метод

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
 /**
  * {@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