/var/www/vhosts/ihelp.ro/httpdocs/vendor/league/flysystem/src/Plugin
NameSizeModeActions
AbstractPlugin.php4840644editdlrm
EmptyDir.php6840644editdlrm
ForcedCopy.php10410644editdlrm
ForcedRename.php10580644editdlrm
GetWithMetadata.php11910644editdlrm
ListFiles.php7020644editdlrm
ListPaths.php6720644editdlrm
ListWith.php14550644editdlrm
PluggableTrait.php22640644editdlrm
PluginNotFoundException.php1830644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/league/flysystem/src/Plugin/PluggableTrait.php (2264B)
plugins[$plugin->getMethod()] = $plugin; return $this; } /** * Find a specific plugin. * * @param string $method * * @throws PluginNotFoundException * * @return PluginInterface */ protected function findPlugin($method) { if ( ! isset($this->plugins[$method])) { throw new PluginNotFoundException('Plugin not found for method: ' . $method); } return $this->plugins[$method]; } /** * Invoke a plugin by method name. * * @param string $method * @param array $arguments * @param FilesystemInterface $filesystem * * @throws PluginNotFoundException * * @return mixed */ protected function invokePlugin($method, array $arguments, FilesystemInterface $filesystem) { $plugin = $this->findPlugin($method); $plugin->setFilesystem($filesystem); $callback = [$plugin, 'handle']; return call_user_func_array($callback, $arguments); } /** * Plugins pass-through. * * @param string $method * @param array $arguments * * @throws BadMethodCallException * * @return mixed */ public function __call($method, array $arguments) { try { return $this->invokePlugin($method, $arguments, $this); } catch (PluginNotFoundException $e) { throw new BadMethodCallException( 'Call to undefined method ' . get_class($this) . '::' . $method ); } } }