コード例 #1
0
 public function getTypeName(Type $type)
 {
     $name = $this->classify($type->getName());
     if ($name && substr($name, -4) !== 'Type') {
         $name .= "Type";
     }
     return $name;
 }
コード例 #2
0
 public function getTypeName(Type $type)
 {
     return $this->classify($type->getName()) . "Type";
 }
コード例 #3
0
 public function addType(Type $type)
 {
     $this->types[$type->getName()] = $type;
 }