/** * Construct an mpx object notification service. * * @param \Psr\Http\Message\UriInterface|string $uri * @param \Mpx\Service\ObjectServiceInterface $objectService * @param \Mpx\ClientInterface $client * @param \Stash\Interfaces\PoolInterface $cache * @param \Psr\Log\LoggerInterface $logger * * @throws \Exception */ public function __construct($uri, ObjectServiceInterface $objectService, ClientInterface $client = NULL, PoolInterface $cache = NULL, LoggerInterface $logger = NULL) { parent::__construct($uri, $objectService->getUser(), $client, $cache, $logger); $this->objectService = $objectService; }