Facebook\HackCodegen\CodegenImplementsInterface

Describes an implemented interface, optionally including a comment, like:

// Generated from CowSchema::Moo() IDoesMoo

Use the methods codegen_implements_interface[s] to instantiate it. E.g.:

$i = codegen_implements_interface(‘IUser’) ->setComment(‘Some kind of user’); $class = codegen_class(‘MyClass’) ->addInterface($i);

Interface Synopsis

namespace Facebook\HackCodegen;

final class CodegenImplementsInterface implements ICodeBuilderRenderer {...}

Public Methods

Edit on GitHub