|
@@ 224-229 (lines=6) @@
|
| 221 |
|
|
| 222 |
|
$this->classes[spl_object_hash($type)]["class"] = $class = new PHPClass(); |
| 223 |
|
|
| 224 |
|
if ($alias = $this->getTypeAlias($type)) { |
| 225 |
|
$class->setName($alias); |
| 226 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 227 |
|
$this->skipByType[spl_object_hash($class)] = true; |
| 228 |
|
return $class; |
| 229 |
|
} |
| 230 |
|
|
| 231 |
|
list ($name, $ns) = $this->findPHPName($type); |
| 232 |
|
$class->setName($name); |
|
@@ 244-248 (lines=5) @@
|
| 241 |
|
$this->skipByType[spl_object_hash($class)] = true; |
| 242 |
|
return $class; |
| 243 |
|
} |
| 244 |
|
if (($this->isArrayType($type) || $this->isArrayNestedElement($type)) && !$force) { |
| 245 |
|
$this->classes[spl_object_hash($type)]["skip"] = true; |
| 246 |
|
$this->skipByType[spl_object_hash($class)] = true; |
| 247 |
|
return $class; |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
$this->classes[spl_object_hash($type)]["skip"] = $skip || !!$this->getTypeAlias($type); |
| 251 |
|
} elseif ($force) { |