SimpleErrorQueue::extractExpectation PHP Méthode

extractExpectation() protected méthode

Pulls the earliest expectation from the queue.
protected extractExpectation ( ) : SimpleExpectation
Résultat SimpleExpectation False if none.
    protected function extractExpectation()
    {
        if (count($this->expectation_queue)) {
            return array_shift($this->expectation_queue);
        }
        return false;
    }