Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Crud
      • Exceptions
      • Facades
  • None
  • PHP

Classes

  • App
  • Artisan
  • Auth
  • Blade
  • Cache
  • Config
  • Cookie
  • Crypt
  • DB
  • Event
  • Facade
  • File
  • Form
  • Hash
  • HTML
  • Input
  • Lang
  • Log
  • Mail
  • Paginator
  • Password
  • Queue
  • Redirect
  • Redis
  • Request
  • Response
  • Route
  • Schema
  • Session
  • URL
  • Validator
  • View
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php namespace Illuminate\Support\Facades;
 2: 
 3: class Route extends Facade {
 4: 
 5:     /**
 6:      * Determine if the current route matches a given name.
 7:      *
 8:      * @param  string  $name
 9:      * @return bool
10:      */
11:     public static function is($name)
12:     {
13:         return static::$app['router']->currentRouteNamed($name);
14:     }
15: 
16:     /**
17:      * Determine if the current route uses a given controller action.
18:      *
19:      * @param  string  $action
20:      * @return bool
21:      */
22:     public static function uses($action)
23:     {
24:         return static::$app['router']->currentRouteUses($action);
25:     }
26: 
27:     /**
28:      * Get the registered name of the component.
29:      *
30:      * @return string
31:      */
32:     protected static function getFacadeAccessor() { return 'router'; }
33: 
34: }
crud API documentation generated by ApiGen 2.8.0