You are here

public function PharInvocationCollection::has in Drupal 7

Parameters

PharInvocation $invocation:

Return value

bool

Overrides Collectable::has

File

misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationCollection.php, line 31

Class

PharInvocationCollection

Namespace

TYPO3\PharStreamWrapper\Resolver

Code

public function has(PharInvocation $invocation) {
  return in_array($invocation, $this->invocations, true);
}