File ManagerCurrent Directory: wp-content/plugins/backwpup/vendor/guzzle/guzzle/src/Guzzle/InflectionLinux appserver-7a7af3b2-php-0c9ec09e2f9746c2a80fa3756c076432 6.12.94+ #1 SMP Fri Jul 17 09:26:56 UTC 2026 x86_64Edit File: Inflector.php <?php namespace Guzzle\Inflection; /** * Default inflection implementation */ class Inflector implements InflectorInterface { /** @var InflectorInterface */ protected static $default; /** * Get the default inflector object that has support for caching * * @return MemoizingInflector */ public static function getDefault() { // @codeCoverageIgnoreStart if (!self::$default) { self::$default = new MemoizingInflector(new self()); } // @codeCoverageIgnoreEnd return self::$default; } public function snake($word) { return ctype_lower($word) ? $word : strtolower(preg_replace('/(.)([A-Z])/', "$1_$2", $word)); } public function camel($word) { return str_replace(' ', '', ucwords(strtr($word, '_-', ' '))); } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirInflector.phpFile851.00 B Rename | Delete | EditInflectorInterface.phpFile574.00 B Rename | Delete | EditMemoizingInflector.phpFile1.92 KB Rename | Delete | EditPreComputedInflector.phpFile1.73 KB Rename | Delete | Edit