[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/config/Resource/ -> SelfCheckingResourceInterface.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <fabien@symfony.com>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  namespace Symfony\Component\Config\Resource;
  13  
  14  /**
  15   * Interface for Resources that can check for freshness autonomously,
  16   * without special support from external services.
  17   *
  18   * @author Matthias Pigulla <mp@webfactory.de>
  19   */
  20  interface SelfCheckingResourceInterface extends ResourceInterface
  21  {
  22      /**
  23       * Returns true if the resource has not been updated since the given timestamp.
  24       *
  25       * @param int $timestamp The last time the resource was loaded
  26       *
  27       * @return bool True if the resource has not been updated, false otherwise
  28       */
  29      public function isFresh($timestamp);
  30  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1