lib/Skeleton/Core/Hook.php
public static function call($name, $arguments = []) {
		if (self::exists($name)) {
			$application = Application::get();
			$classname = 'Hook_' . ucfirst($application->name);
			call_user_func_array([$classname, $name], $arguments);
		} else {
			throw new \Exception('Hook is not defined');
		}
	}
public static function call($name, $arguments = []) {
		if (self::exists($name)) {
			$application = Application::get();
			$classname = 'Hook_' . ucfirst($application->name);
			call_user_func_array([$classname, $name], $arguments);
		} else {
			throw new \Exception('Hook is not defined');
		}
	}
public static function call ( $ name , $ arguments = [ ] ) { if ( self :: exists ( $ name ) ) { $ application = Application :: get ( ) ; $ classname = 'Hook_' . ucfirst ( $ application -> name ) ; call_user_func_array ( [ $ classname , $ name ] , $ arguments ) ; } else { throw new \ Exception ( 'Hook is not defined' ) ; } }
Call a hook

@access public
@param string $name
@param array $arguments
@return bool
Call a hook