Lines Matching refs:protocol
54 * @param string $protocol The wrapper name to be registered.
62 public static function register($protocol, $className, $flags = 0) argument
64 if (true === self::isRegistered($protocol)) {
68 $protocol
77 [$className, $protocol]
81 return stream_wrapper_register($protocol, $className, $flags);
87 * @param string $protocol The wrapper name to be unregistered.
90 public static function unregister($protocol) argument
95 return @stream_wrapper_unregister($protocol);
101 * @param string $protocol The wrapper name to be restored.
104 public static function restore($protocol) argument
109 return @stream_wrapper_restore($protocol);
115 * @param string $protocol Protocol name.
118 public static function isRegistered($protocol) argument
120 return in_array($protocol, self::getRegistered());