public function AddClass(
        \Peg\Lib\Definitions\Element\ClassElement $class,
        $header,
        $namespace="\\"
    )
    {
        $this->AddHeader($header);

        $this->headers[$header]->AddClass($class, $namespace);
    }
public function AddClass(
        \Peg\Lib\Definitions\Element\ClassElement $class,
        $header,
        $namespace="\\"
    )
    {
        $this->AddHeader($header);

        $this->headers[$header]->AddClass($class, $namespace);
    }
public function AddClass ( \ Peg \ Lib \ Definitions \ Element \ ClassElement $ class , $ header , $ namespace = "\\" ) { $ this -> AddHeader ( $ header ) ; $ this -> headers [ $ header ] -> AddClass ( $ class , $ namespace ) ; }
Adds a class to the symbols table.
@param \Peg\Lib\Definitions\Element\ClassElement $class
@param string $header Name of header file where the class resides.
@param string $namespace If omitted the class is added at a global scope.
Adds a class to the symbols table .