PHP Class WellCommerce\Bundle\ApiBundle\Request\RequestHandlerCollection

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Component\Collections\ArrayCollection
Datei anzeigen Open project: wellcommerce/wellcommerce Class Usage Examples

Public Methods

Method Description
add ( WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface $requestHandler ) Adds given request handler to collection
all ( ) : WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface[]
get ( $resourceType ) : WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface Returns the request handler for given resource type

Method Details

add() public method

Adds given request handler to collection
public add ( WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface $requestHandler )
$requestHandler WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface

all() public method

public all ( ) : WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface[]
return WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface[]

get() public method

Returns the request handler for given resource type
public get ( $resourceType ) : WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface
$resourceType
return WellCommerce\Bundle\ApiBundle\Request\RequestHandlerInterface