LikeExpression
extends Node
in package
LikeExpression ::= StringExpression ["NOT"] "LIKE" string ["ESCAPE" char]
Tags
Table of Contents
Properties
- $escapeChar : Literal|null
- $not : bool
- $stringExpression : Node|string
- $stringPattern : InputParameter|FunctionNode|PathExpression|Literal
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
Properties
$escapeChar
public
Literal|null
$escapeChar
$not
public
bool
$not
= false
$stringExpression
public
Node|string
$stringExpression
$stringPattern
public
InputParameter|FunctionNode|PathExpression|Literal
$stringPattern
Methods
__construct()
public
__construct(Node|string $stringExpression, InputParameter|FunctionNode|PathExpression|Literal $stringPattern[, Literal|null $escapeChar = null ][, bool $not = false ]) : mixed
Parameters
- $stringExpression : Node|string
- $stringPattern : InputParameter|FunctionNode|PathExpression|Literal
- $escapeChar : Literal|null = null
- $not : bool = false
__toString()
Dumps the AST Node into a string representation for information purpose only.
public
__toString() : string
Return values
stringdispatch()
Double-dispatch method, supposed to dispatch back to the walker.
public
dispatch(mixed $sqlWalker) : string
Parameters
- $sqlWalker : mixed
Return values
stringdump()
public
dump(mixed $value) : string
Parameters
- $value : mixed