---
docid: classes-codegen-interface
title: CodegenInterface
layout: docs
permalink: /docs/classes/CodegenInterface/
---

A `CodegenInterface` is created with `$factory->codegenInterface(name)`; it can
extend other interfaces via `->addInterface($codegen_implements_interface)`, and
does not add any other features to `CodegenClassBase`.
