File ManagerCurrent Directory: wp-content/plugins/backwpup/vendor/guzzle/guzzle/src/Guzzle/InflectionLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 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