public static function TestvfsStreamWrapper::unregister in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperAlreadyRegisteredTestCase.php \org\bovigo\vfs\TestvfsStreamWrapper::unregister()
unregisters vfsStreamWrapper
Overrides vfsStreamWrapper::unregister
2 calls to TestvfsStreamWrapper::unregister()
- vfsStreamWrapperAlreadyRegisteredTestCase::setUp in vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperAlreadyRegisteredTestCase.php - set up test environment
- vfsStreamWrapperAlreadyRegisteredTestCase::tearDown in vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperAlreadyRegisteredTestCase.php - clean up test environment
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperAlreadyRegisteredTestCase.php, line 19
Class
- TestvfsStreamWrapper
- Helper class for the test.
Namespace
org\bovigo\vfsCode
public static function unregister() {
if (in_array(vfsStream::SCHEME, stream_get_wrappers()) === true) {
stream_wrapper_unregister(vfsStream::SCHEME);
}
self::$registered = false;
}