PHP Class eZ\Bundle\EzPublishRestBundle\RequestParser\Router

Inheritance: implements eZ\Publish\Core\REST\Common\RequestParser
显示文件 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( Symfony\Component\Routing\RouterInterface $router )
generate ( $type, array $values = [] )
parse ( $url )
parseHref ( $href, $attribute )

Private Methods

Method Description
matchesRestRequest ( array $match ) : boolean Checks if a router match response matches a REST resource.

Method Details

__construct() public method

public __construct ( Symfony\Component\Routing\RouterInterface $router )
$router Symfony\Component\Routing\RouterInterface

generate() public method

public generate ( $type, array $values = [] )
$values array

parse() public method

public parse ( $url )

parseHref() public method

public parseHref ( $href, $attribute )