src/Tools/ClassMetadata/ClassMetadata.php
public function getNamespace()
    {
        if (!isset($this->namespace)) {
            $reflectionClass = new \ReflectionClass($this->name);
            $this->namespace = $reflectionClass->getNamespaceName();
        }
        return $this->namespace;
    }
public function getNamespace()
    {
        if (!isset($this->namespace)) {
            $reflectionClass = new \ReflectionClass($this->name);
            $this->namespace = $reflectionClass->getNamespaceName();
        }
        return $this->namespace;
    }
public function getNamespace ( ) { if ( ! isset ( $ this -> namespace ) ) { $ reflectionClass = new \ ReflectionClass ( $ this -> name ) ; $ this -> namespace = $ reflectionClass -> getNamespaceName ( ) ; } return $ this -> namespace ; }
Get namespace of the class
Get namespace of the class