Zephir\ClassDefinition::getCompleteName PHP Method

getCompleteName() public method

Returns the class name including its namespace
public getCompleteName ( ) : string
return string
    public function getCompleteName()
    {
        return $this->namespace . '\\' . $this->shortName;
    }

Usage Example

Exemplo n.º 1
0
 public function getData()
 {
     $nsPieces = explode('\\', $this->class->getNamespace());
     $nsPathes = array();
     $nsStr = "";
     foreach ($nsPieces as $n) {
         if (strlen($nsStr) > 0) {
             $nsStr .= '\\';
         }
         $nsStr .= $n;
         $nsPathes[$n] = $nsStr;
     }
     return array("classDefinition" => $this->class, "compilerFile" => $this->compilerFile, "className" => $this->class->getName(), "classNamespace" => $this->class->getNamespace(), "fullName" => $this->class->getCompleteName(), "methods" => $this->class->getMethods(), "namespacePieces" => $nsPathes);
 }
All Usage Examples Of Zephir\ClassDefinition::getCompleteName