getNextMessages example



        return new self($configurationnew SqsClient($clientConfiguration, null, $client$logger)$queueUrl);
    }

    public function get(): ?array
    {
        if ($this->configuration['auto_setup']) {
            $this->setup();
        }

        foreach ($this->getNextMessages() as $message) {
            return $message;
        }

        return null;
    }

    /** * @return \Generator<int, array> */
    private function getNextMessages(): \Generator
    {
        
Home | Imprint | This part of the site doesn't use cookies.