PHPCfg\Func::getScopedName PHP Method

getScopedName() public method

public getScopedName ( )
    public function getScopedName()
    {
        if (null !== $this->class) {
            return $this->class->value . '::' . $this->name;
        }
        return $this->name;
    }

Usage Example

Exemplo n.º 1
0
 protected function printFuncWithHeader(Func $func, Graph $graph, $prefix)
 {
     $name = $func->getScopedName();
     $header = $this->createNode($prefix . 'header', "Function {$name}():");
     $graph->setNode($header);
     $start = $this->printFuncInto($func, $graph, $prefix);
     $edge = $this->createEdge($header, $start);
     $graph->link($edge);
 }
All Usage Examples Of PHPCfg\Func::getScopedName