Hoa central
Public Member Functions | Public Attributes | List of all members
Hoa\Dispatcher\Test\Unit\MockRouter Class Reference
Inheritance diagram for Hoa\Dispatcher\Test\Unit\MockRouter:

Public Member Functions

 isAsynchronous ()
 
- Public Member Functions inherited from Hoa\Router\Cli
 __construct (Array $parameters=[])
 
 getParameters ()
 
 route ($uri=null)
 
 unroute ($id, Array $variables=[])
 
 getMethod ()
 
 isAsynchronous ()
 
- Public Member Functions inherited from Hoa\Router\Generic
 addRule ($id, Array $methods, $pattern, $call=null, $able=null, Array $variables=[])
 
 addPrivateRule ($id, Array $methods, $pattern, $call=null, $able=null, Array $variables=[])
 
 __call ($name, $arguments)
 
 removeRule ($id)
 
 ruleExists ($id)
 
 getRules ()
 
 getRule ($id)
 
getTheRule ()
 
- Public Member Functions inherited from Hoa\Router\Router
 route ()
 

Public Attributes

 $asynchronous = false
 
- Public Attributes inherited from Hoa\Router\Router
const VISIBILITY_PUBLIC = 0
 
const VISIBILITY_PRIVATE = 1
 
const RULE_VISIBILITY = 0
 
const RULE_ID = 1
 
const RULE_METHODS = 2
 
const RULE_PATTERN = 3
 
const RULE_CALL = 4
 
const RULE_ABLE = 5
 
const RULE_VARIABLES = 6
 

Additional Inherited Members

- Static Public Member Functions inherited from Hoa\Router\Cli
static getURI ()
 
- Protected Member Functions inherited from Hoa\Router\Cli
 _addRule ($visibility, $id, Array $methods, $pattern, $call, $able, Array $variables)
 
- Protected Member Functions inherited from Hoa\Router\Generic
 _addRule ($visibility, $id, Array $methods, $pattern, $call, $able, Array $variables)
 
- Protected Attributes inherited from Hoa\Router\Cli
 $_parameters = null
 
- Protected Attributes inherited from Hoa\Router\Generic
 $_rules = []
 
 $_rule = null
 
- Static Protected Attributes inherited from Hoa\Router\Cli
static $_methods
 
- Static Protected Attributes inherited from Hoa\Router\Generic
static $_methods = []
 

Detailed Description

Definition at line 298 of file ClassMethod.php.

Member Function Documentation

Hoa\Dispatcher\Test\Unit\MockRouter::isAsynchronous ( )

Whether the router is called asynchronously or not.

Returns
bool

Implements Hoa\Router\Router.

Definition at line 302 of file ClassMethod.php.

303  {
304  return $this->asynchronous;
305  }

Member Data Documentation

Hoa\Dispatcher\Test\Unit\MockRouter::$asynchronous = false

Definition at line 300 of file ClassMethod.php.


The documentation for this class was generated from the following file: