Facebook\HackCodegen\CodegenWithAttributes
Facebook\HackCodegen\CodegenWithAttributes
Interface Synopsis
namespace Facebook\HackCodegen;
trait CodegenWithAttributes {...}
Public Methods
->addEmptyUserAttribute(string $name): \this
->addUserAttribute<\T>(string $name, \ Traversable<\T> $values, \ IHackBuilderValueRenderer<\T> $renderer): \this
->getAttributes(): dict<string, vec<string>>
->getUserAttributes(): dict<string, vec<string>>
->hasAttributes(): bool
->renderAttributes(): ?string