removeNamespace() 공개 정적인 메소드

public static removeNamespace ( string $namespacedClassName ) : string
$namespacedClassName string
리턴 string
예제 #1
0
 /**
  * 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;
 }
예제 #2
0
 /**
  * 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;
 }