PHP Class Ergo\Routing\RouteMatch

Inheritance: extends ArrayIterator
Show file Open project: 99designs/ergo

Public Methods

Method Description
__construct ( string $name, array $parameters, $metadata = [] )
__get ( $key ) Magic getter method
getIterator ( ) *
getMetadata ( ) : array
getName ( ) : string
getParameters ( ) : array
hasMetadata ( $key ) : boolean
parameter ( $key, $default = false ) : string

Method Details

__construct() public method

public __construct ( string $name, array $parameters, $metadata = [] )
$name string
$parameters array

__get() public method

Magic getter method
public __get ( $key )

getIterator() public method

*
See also: IteratorAggregate
public getIterator ( )

getMetadata() public method

public getMetadata ( ) : array
return array

getName() public method

public getName ( ) : string
return string

getParameters() public method

public getParameters ( ) : array
return array

hasMetadata() public method

public hasMetadata ( $key ) : boolean
return boolean

parameter() public method

public parameter ( $key, $default = false ) : string
return string