annotate vendor/typo3/phar-stream-wrapper/src/Collectable.php @ 5:12f9dff5fda9 tip

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