Documentation

PathExpression extends Node
in package

AssociationPathExpression ::= CollectionValuedPathExpression | SingleValuedAssociationPathExpression SingleValuedPathExpression ::= StateFieldPathExpression | SingleValuedAssociationPathExpression StateFieldPathExpression ::= SimpleStateFieldPathExpression | SimpleStateFieldAssociationPathExpression SingleValuedAssociationPathExpression ::= IdentificationVariable "." SingleValuedAssociationField CollectionValuedPathExpression ::= IdentificationVariable "." CollectionValuedAssociationField StateField ::= {EmbeddedClassStateField "."}* SimpleStateField SimpleStateFieldPathExpression ::= IdentificationVariable "." StateField

Table of Contents

Constants

TYPE_COLLECTION_VALUED_ASSOCIATION  = 2
TYPE_SINGLE_VALUED_ASSOCIATION  = 4
TYPE_STATE_FIELD  = 8

Properties

$expectedType  : int
$field  : string|null
$identificationVariable  : string
$type  : int|null

Methods

__construct()  : mixed
__toString()  : string
Dumps the AST Node into a string representation for information purpose only.
dispatch()  : string
Double-dispatch method, supposed to dispatch back to the walker.
dump()  : string

Constants

TYPE_COLLECTION_VALUED_ASSOCIATION

public mixed TYPE_COLLECTION_VALUED_ASSOCIATION = 2

TYPE_SINGLE_VALUED_ASSOCIATION

public mixed TYPE_SINGLE_VALUED_ASSOCIATION = 4

Properties

Methods

__construct()

public __construct(int $expectedType, string $identificationVariable[, string|null $field = null ]) : mixed
Parameters
$expectedType : int
$identificationVariable : string
$field : string|null = null
Tags
psalm-param

int-mask-ofself::TYPE_* $expectedType

__toString()

Dumps the AST Node into a string representation for information purpose only.

public __toString() : string
Return values
string

dispatch()

Double-dispatch method, supposed to dispatch back to the walker.

public dispatch(mixed $walker) : string
Parameters
$walker : mixed
Return values
string

dump()

public dump(mixed $value) : string
Parameters
$value : mixed
Return values
string

        
On this page

Search results