Facebook\HackCodegen\CodegenMethodish
Facebook\HackCodegen\CodegenMethodish
Base class to generate a method or a constructor
Interface Synopsis
namespace Facebook\HackCodegen;
abstract class CodegenMethodish extends CodegenFunctionish implements ICodeBuilderRenderer {...}
Public Methods
->appendToBuilder(HackBuilder $builder): HackBuilder
->isAbstract(): bool
->isStatic(): bool
->setContainingClass(CodegenClassish $class): \this
->setIsAbstract(bool $value = true): \this
->setIsFinal(bool $value = true): \this
->setIsStatic(bool $value = true): \this