[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/config/Resource/ -> ResourceInterface.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   * ResourceInterface is the interface that must be implemented by all Resource classes.
  16   *
  17   * @author Fabien Potencier <fabien@symfony.com>
  18   */
  19  interface ResourceInterface
  20  {
  21      /**
  22       * Returns a string representation of the Resource.
  23       *
  24       * This method is necessary to allow for resource de-duplication, for example by means
  25       * of array_unique(). The string returned need not have a particular meaning, but has
  26       * to be identical for different ResourceInterface instances referring to the same
  27       * resource; and it should be unlikely to collide with that of other, unrelated
  28       * resource instances.
  29       *
  30       * @return string A string representation unique to the underlying Resource
  31       */
  32      public function __toString();
  33  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1