You are here

public function CompilerContextInterface::getInputs in Compiler 1.0.x

Get an interator containing the compiler inputs.

The resulting iterator will contain a copy of the input array at the time when this method was invoked. The iterator will flatten the structure of the input array and only return valid input values.

For refineable contexts, this method should be used for retrieving inputs unless the input array needs to be modified in some way.

Return value

\RecursiveCallbackFilterIterator An interator containing the compiler inputs.

1 method overrides CompilerContextInterface::getInputs()
CompilerContext::getInputs in src/CompilerContext.php
Get an interator containing the compiler inputs.

File

src/CompilerContextInterface.php, line 46

Class

CompilerContextInterface
A compiler context used to define a compilation.

Namespace

Drupal\compiler

Code

public function getInputs() : \RecursiveCallbackFilterIterator;