public function addHook(HookFactory $hook): void
	{
		$hook->init();
		$this->hooks[$hook->name] = $hook;
	}
public function addHook(HookFactory $hook): void
	{
		$hook->init();
		$this->hooks[$hook->name] = $hook;
	}
public function addHook ( HookFactory $ hook ) : void { $ hook -> init ( ) ; $ this -> hooks [ $ hook -> name ] = $ hook ; }
Prida formular do nastaveni
@param HookFactory $hook
Prida formular do nastaveni