Mercurial > hg > isophonics-drupal-site
annotate vendor/typo3/phar-stream-wrapper/src/Collectable.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
rev | line source |
---|---|
Chris@18 | 1 <?php |
Chris@18 | 2 namespace TYPO3\PharStreamWrapper; |
Chris@18 | 3 |
Chris@18 | 4 /* |
Chris@18 | 5 * This file is part of the TYPO3 project. |
Chris@18 | 6 * |
Chris@18 | 7 * It is free software; you can redistribute it and/or modify it under the terms |
Chris@18 | 8 * of the MIT License (MIT). For the full copyright and license information, |
Chris@18 | 9 * please read the LICENSE file that was distributed with this source code. |
Chris@18 | 10 * |
Chris@18 | 11 * The TYPO3 project - inspiring people to share! |
Chris@18 | 12 */ |
Chris@18 | 13 |
Chris@18 | 14 use TYPO3\PharStreamWrapper\Resolver\PharInvocation; |
Chris@18 | 15 |
Chris@18 | 16 interface Collectable |
Chris@18 | 17 { |
Chris@18 | 18 /** |
Chris@18 | 19 * @param PharInvocation $invocation |
Chris@18 | 20 * @return bool |
Chris@18 | 21 */ |
Chris@18 | 22 public function has(PharInvocation $invocation); |
Chris@18 | 23 |
Chris@18 | 24 /** |
Chris@18 | 25 * @param PharInvocation $invocation |
Chris@18 | 26 * @param null $flags |
Chris@18 | 27 * @return bool |
Chris@18 | 28 */ |
Chris@18 | 29 public function collect(PharInvocation $invocation, $flags = null); |
Chris@18 | 30 |
Chris@18 | 31 /** |
Chris@18 | 32 * @param callable $callback |
Chris@18 | 33 * @param bool $reverse |
Chris@18 | 34 * @return null|PharInvocation |
Chris@18 | 35 */ |
Chris@18 | 36 public function findByCallback($callback, $reverse = false); |
Chris@18 | 37 } |