\phpDocumentor\Plugin\TwigExtensionInterface

An interface shared by all Twig interfaces intended for phpDocumentor.

Summary

Methods
Constants
__construct()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

__construct()

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

Registers the structure and transformation objects with this extension.

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

Parameters

\phpDocumentor\Descriptor\ProjectDescriptor $project

Represents the complete Abstract Syntax Tree.

\phpDocumentor\Transformer\Transformation $transformation

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