Facebook\HackCodegen\CodegenTypeConstant
Facebook\HackCodegen\CodegenTypeConstant
Generate code for a class type constant
Interface Synopsis
namespace Facebook\HackCodegen;
final class CodegenTypeConstant extends CodegenConstantish implements ICodeBuilderRenderer {...}
Public Methods
->__construct(IHackCodegenConfig $config, string $name)
->appendToBuilder(HackBuilder $builder): HackBuilder
->getConstraint(): ?string
->isAbstract(): bool
->setConstraint(string $c): \this
->setConstraintf(\HH\Lib\Str\SprintfFormatString $c, \mixed ...$args): \this
->setIsAbstract(bool $value): \this