src/GeneratorEngine/Core/BaseClassGenerator.php
public function WriteConstant($value) {
        $constantName = strtoupper($value);
        $lineOfCode = PhpCodeSnippets::TAB2 .
                "const " . $constantName .
                " = '" .
                $value . "';" .
                PhpCodeSnippets::LF;
        return $lineOfCode;
    }
public function WriteConstant($value) {
        $constantName = strtoupper($value);
        $lineOfCode = PhpCodeSnippets::TAB2 .
                "const " . $constantName .
                " = '" .
                $value . "';" .
                PhpCodeSnippets::LF;
        return $lineOfCode;
    }
public function WriteConstant ( $ value ) { $ constantName = strtoupper ( $ value ) ; $ lineOfCode = PhpCodeSnippets :: TAB2 . "const " . $ constantName . " = '" . $ value . "';" . PhpCodeSnippets :: LF ; return $ lineOfCode ; }
Builds a line of code that declare a constant.
@param string $value
@return string a line of code representing a constant declaration
Builds a line of code that declare a constant .