[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/typo3/phar-stream-wrapper/src/ -> Collectable.php (source)

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


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer