public function getPath()
    {
        if (null === $this->path) {
            $reflected = new \ReflectionObject($this);
            $this->path = dirname($reflected->getFileName());
        }

        return $this->path;
    }
public function getPath()
    {
        if (null === $this->path) {
            $reflected = new \ReflectionObject($this);
            $this->path = dirname($reflected->getFileName());
        }

        return $this->path;
    }
public function getPath ( ) { if ( null === $ this -> path ) { $ reflected = new \ ReflectionObject ( $ this ) ; $ this -> path = dirname ( $ reflected -> getFileName ( ) ) ; } return $ this -> path ; }
Gets the Bundle directory path.

@return string The Bundle absolute path

@api
Gets the Bundle directory path .