You are here

public function Matchable::match in AmazonS3 7.2

Match this object against a string.

Typically, this will be done with a basic string contains, glob, or regular expression.

Parameters

string $subject: The string to match against.

Return value

Matchable|bool The object that matched, or FALSE if no match was found.

1 method overrides Matchable::match()
MatchablePaths::match in src/Matchable/MatchablePaths.php
Return the first object that matches a subject.

File

src/Matchable/Matchable.php, line 24

Class

Matchable
Interface for objects that can be matched against a given string.

Namespace

Drupal\amazons3\Matchable

Code

public function match($subject);