Documentation

IfStatement
in package
implements ProjectFactoryStrategy

Interfaces, Classes and Traits

ProjectFactoryStrategy
Interface for strategies used by the project factory to build Elements out of nodes.

Table of Contents

create()  : void
Creates an Element out of the given object.
matches()  : bool
Returns true when the strategy is able to handle the object.

Methods

matches()

Returns true when the strategy is able to handle the object.

public matches(ContextStack $context, object $object) : bool
Parameters
$context : ContextStack
$object : object
Return values
bool

Search results