src/mako/event/Event.php
public function override(string $name, $handler): void
	{
		$this->clear($name);

		$this->register($name, $handler);
	}
public function override(string $name, $handler): void
	{
		$this->clear($name);

		$this->register($name, $handler);
	}
public function override ( string $ name , $ handler ) : void { $ this -> clear ( $ name ) ; $ this -> register ( $ name , $ handler ) ; }
Overrides an event.

@param string          $name    Event name
@param string|\Closure $handler Event handler
Overrides an event .