TestFileSystemStream::unregister PHP Method

unregister() public static method

Unregisters a protocol.
public static unregister ( string $protocol ) : boolean
$protocol string Protocol name
return boolean
    public static function unregister($protocol)
    {
        return stream_wrapper_unregister((string) $protocol);
    }

Usage Example

Esempio n. 1
0
 /**
  * Cleans up the testing environment.
  */
 protected function tearDown()
 {
     \TestFileSystemStream::unregister($this->protocol);
 }