private function getClassConstants()
    {
        $pgClass = $this->entity->pgClass;

        $this->class->classComponents[] = new ClassConstant(
            'TABLE',
            new Sformatf( "const TABLE = '%s';", $pgClass->getFullyQualifiedName() )
        );
        $this->class->classComponents[] = new ClassConstant(
            'PARENT',
            new Sformatf(
                "const PARENT = %s;",
                $pgClass->isInherited($parent) ? "'{$parent->getFullyQualifiedName()}'" : 'null'
            )
        );
    }
private function getClassConstants()
    {
        $pgClass = $this->entity->pgClass;

        $this->class->classComponents[] = new ClassConstant(
            'TABLE',
            new Sformatf( "const TABLE = '%s';", $pgClass->getFullyQualifiedName() )
        );
        $this->class->classComponents[] = new ClassConstant(
            'PARENT',
            new Sformatf(
                "const PARENT = %s;",
                $pgClass->isInherited($parent) ? "'{$parent->getFullyQualifiedName()}'" : 'null'
            )
        );
    }
private function getClassConstants ( ) { $ pgClass = $ this -> entity -> pgClass ; $ this -> class -> classComponents [ ] = new ClassConstant ( 'TABLE' , new Sformatf ( "const TABLE = '%s';" , $ pgClass -> getFullyQualifiedName ( ) ) ) ; $ this -> class -> classComponents [ ] = new ClassConstant ( 'PARENT' , new Sformatf ( "const PARENT = %s;" , $ pgClass -> isInherited ( $ parent ) ? "'{$parent->getFullyQualifiedName()}'" : 'null' ) ) ; }
Get class constants
Get class constants