src/Wrapper.php
public function init()
    {
        parent::init();

        $this->url = Yii::$app->getUrlManager()->createUrl(['noty/default/index']);

        if (!$this->layerClass) {
            $this->layerClass = self::DEFAULT_LAYER;
        }
    }
public function init()
    {
        parent::init();

        $this->url = Yii::$app->getUrlManager()->createUrl(['noty/default/index']);

        if (!$this->layerClass) {
            $this->layerClass = self::DEFAULT_LAYER;
        }
    }
public function init ( ) { parent :: init ( ) ; $ this -> url = Yii :: $ app -> getUrlManager ( ) -> createUrl ( [ 'noty/default/index' ] ) ; if ( ! $ this -> layerClass ) { $ this -> layerClass = self :: DEFAULT_LAYER ; } }
init layer class
init layer class