code: public function register($event,$obj,$methodName){
  		$this->events+=[
  			$event=>[
  			]
  		];
  		$this->events[$event][]=[
  			'object'=>$obj,
  			'methodName'=>$methodName,
  			];
  	}
docs: Register event.
  
  @param string $event event name
  @param object $obj
  @param string $methodName