src/ItePHP/Core/EventManager.php
public function register($event,$obj,$methodName){
		$this->events+=[
			$event=>[
			]
		];
		$this->events[$event][]=[
			'object'=>$obj,
			'methodName'=>$methodName,
			];
	}
public function register($event,$obj,$methodName){
		$this->events+=[
			$event=>[
			]
		];
		$this->events[$event][]=[
			'object'=>$obj,
			'methodName'=>$methodName,
			];
	}
Register event.

@param string $event event name
@param object $obj
@param string $methodName