Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Relax
Greppy
Matcher
PHP Interface Relax\Greppy\Matcher
Author:
Daniel Ribeiro (
[email protected]
)
Show file
Open project: relaxphp/greppy
Public Methods
Method
Description
getSubject
( ) :
string
Get the subject to match against.
matches
(
Relax\Greppy\Pattern
$pattern
) :
boolean
Checks if the subject matches the pattern.
Method Details
getSubject()
public
method
Get the subject to match against.
public
getSubject
( ) :
string
return
string
matches()
public
method
Checks if the subject matches the pattern.
public
matches
(
Relax\Greppy\Pattern
$pattern
) :
boolean
$pattern
Relax\Greppy\Pattern
return
boolean