yii\base\Object::init PHP Méthode

init() public méthode

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

Exemple #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