You are here

interface Matchable in AmazonS3 7.2

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

@package Drupal\amazons3\Matchable

Hierarchy

  • interface \Drupal\amazons3\Matchable\Matchable

Expanded class hierarchy of Matchable

All classes that implement Matchable

File

src/Matchable/Matchable.php, line 10

Namespace

Drupal\amazons3\Matchable
View source
interface Matchable {

  /**
   * Match this object against a string.
   *
   * Typically, this will be done with a basic string contains, glob, or regular
   * expression.
   *
   * @param string $subject
   *   The string to match against.
   *
   * @return Matchable|bool
   *   The object that matched, or FALSE if no match was found.
   */
  public function match($subject);

}

Members

Namesort descending Modifiers Type Description Overrides
Matchable::match public function Match this object against a string. 1