rkr/observer-client

0.1.5 2019-02-19 14:25 UTC

This package is auto-updated.

Last update: 2024-10-29 03:58:47 UTC


README

A client for the Observer-Server

Example for PHP-DI:

ObserverEndPointClient::class => object(ObserverCurlClient::class)
    ->constructorParameter('authToken', link('observer.token')),

ObserverClient::class => object()
    ->constructorParameter('endpointUrl', link('observer.url')),

ObserverProject::class => object()
    ->constructorParameter('key', link('observer.project')),

// You can directly create an ObserverPing that has all configuration information already 
ObserverPing::class => object()
    ->constructorParameter('entityKey', link('observer.entity-key')),