yii\base\Event::offAll PHP Méthode

offAll() public static méthode

Detaches all registered class-level event handlers.
See also: on()
See also: off()
Since: 2.0.10
public static offAll ( )
    public static function offAll()
    {
        self::$_events = [];
    }