function PharInvocationCollection::has

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.