/** * {@inheritdoc} */ protected function resolve($name) { $adapter = parent::resolve($name); if (class_exists('Twistor\\FlysystemStreamWrapper')) { \Twistor\FlysystemStreamWrapper::register($name, $adapter->getDriver()); } return $adapter; }
public function unRegister($protocol) { return \Twistor\FlysystemStreamWrapper::unregister($protocol); }