Drest\Service::__construct PHP Method

__construct() public method

Initialise a new instance of a Drest service
public __construct ( drest\Manager $dm, Drest\Service\Action\Registry $service_action_registry )
$dm drest\Manager - The Drest Manager object
$service_action_registry Drest\Service\Action\Registry - registry use to look up service actions
    public function __construct(Manager $dm, Service\Action\Registry $service_action_registry)
    {
        $this->dm = $dm;
        $this->service_action_registry = $service_action_registry;
    }