public static removeNamespace ( string $namespacedClassName ) : string | ||
$namespacedClassName | string | |
return | string |
/** * Allows to define from which class the curent model extends * @param bool $short * @return string */ public function getExtends($short = false) { $extends = $this->getGenerator()->getOptionSoapClientClass(); return $short ? Utils::removeNamespace($extends) : $extends; }
/** * Allows to define from which class the curent model extends * @param bool $short * @return string */ public function getExtends($short = false) { $extends = ''; if ($this->isArray()) { $extends = $this->getGenerator()->getOptionStructArrayClass(); } elseif (!$this->getIsRestriction()) { $extends = $this->getGenerator()->getOptionStructClass(); } return $short ? Utils::removeNamespace($extends) : $extends; }