ExtensionInterface

Extends

An interface shared by all Twig interfaces intended for phpDocumentor.

package

Default

Methods

Registers the structure and transformation objects with this extension.

__construct(\phpDocumentor\Descriptor\ProjectDescriptor $project, \phpDocumentor\Transformer\Transformation $transformation) 

The Structure and Transformation object can be used to get context from and to provide additional information.

Arguments

$project

\phpDocumentor\Descriptor\ProjectDescriptor

Represents the complete Abstract Syntax Tree.

$transformation

\phpDocumentor\Transformer\Transformation

Represents the transformation meta data used in the current generation cycle.