Interface

TRex\Core\IObjectsSearcher

interface IObjectsSearcher

Interface IObjectsSearcher

Constants

NON_STRICT_SEARCH_MODE

Const for has and search mode.

Search value in a non-strict way.

STRICT_SEARCH_MODE

Const for has and search mode.

Search value in a strict way.

REGEX_SEARCH_MODE

Const for has and search mode.

Search value with a regex.

Methods

bool has(string $value, string $searchMode = self::STRICT_SEARCH_MODE)

Indicates whether the value is present.

array search(string $value, string $searchMode = self::STRICT_SEARCH_MODE)

Searches the keys for the value.

Details

at line 37
public bool has(string $value, string $searchMode = self::STRICT_SEARCH_MODE)

Indicates whether the value is present.

Parameters

string $value
string $searchMode

Return Value

bool

Searches the keys for the value.

Parameters

string $value
string $searchMode

Return Value

array