public static function timeout($value = null) { if (empty($value)) { return self::$global->getTimeout(); } self::$global->setTimeout($value); }