"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/lib/Drupal/Core/Routing/ResettableStackedRouteMatchInterface.php" (26 Nov 2020, 698 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ResettableStackedRouteMatchInterface.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 
    3 namespace Drupal\Core\Routing;
    4 
    5 /**
    6  * Defines an interface for a resettable stack of route matches.
    7  *
    8  * @todo Move this method to \Drupal\Core\Routing\StackedRouteMatchInterface in
    9  *   https://www.drupal.org/node/2659952.
   10  */
   11 interface ResettableStackedRouteMatchInterface extends StackedRouteMatchInterface {
   12 
   13   /**
   14    * Resets the route match static cache.
   15    *
   16    * The route match should only be statically cached once routing is finished.
   17    * Any code that uses a route match during routing may be incorrectly assumed
   18    * to be acting after routing has completed. This method gives that code the
   19    * ability to fix the static cache.
   20    */
   21   public function resetRouteMatch();
   22 
   23 }