src/Event/Manager.php
public function enableHandler($name)
    {
        if ($this->debug) {
            $debugArgs = new Args([
                'name'    => $name,
                'source'  => 'core:event:debug',
                'level'   => E_NOTICE,
            ]);
            $this->fire(':onEnableHandler:', $debugArgs);
        }
        unset($this->disabledEvents[$name]);
    }
public function enableHandler($name)
    {
        if ($this->debug) {
            $debugArgs = new Args([
                'name'    => $name,
                'source'  => 'core:event:debug',
                'level'   => E_NOTICE,
            ]);
            $this->fire(':onEnableHandler:', $debugArgs);
        }
        unset($this->disabledEvents[$name]);
    }
public function enableHandler ( $ name ) { if ( $ this -> debug ) { $ debugArgs = new Args ( [ 'name' => $ name , 'source' => 'core:event:debug' , 'level' => E_NOTICE , ] ) ; $ this -> fire ( ':onEnableHandler:' , $ debugArgs ) ; } unset ( $ this -> disabledEvents [ $ name ] ) ; }
Enables handler.

@param  string $name  Event name
@return void
Enables handler .