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

Exemplo n.º 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