예제 #1
0
 public static function getDefault()
 {
     if (!self::$default) {
         self::$default = new MemoizingInflector(new self());
     }
     return self::$default;
 }
예제 #2
0
파일: Inflector.php 프로젝트: jorjoh/Varden
 /**
  * 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;
 }