If this stream wrapper wasn't registered, the method returns silently.
If unregistering fails, or if the URL wrapper for vfs:// was not
registered with this class, a vfsStreamException will be thrown.
public static unregister ( ) |
function letGo() { VfsStreamWrapper::unregister(); }
public function tearDown() { vfsStreamWrapper::unregister(); }
/** * @throws vfs\vfsStreamException * @static * @author Panagiotis Vagenas <*****@*****.**> * @since 0.0.2 */ public static function tearDownAfterClass() { self::$WpPluginCore->getHookFactory()->getWhereTemplatesMayResideFilter()->removeAll(); self::$rootDir = null; self::$WpPluginCore = null; self::$templateBaseName = null; self::$templateName = null; self::$misTemplateBaseName = null; self::$misTemplateName = null; self::$templateFile = null; self::$templateObj = null; vfs\vfsStreamWrapper::unregister(); }