src/Mocks/CacheRegionMock.php
private function getReturn($method, $default)
    {
        if (isset($this->returns[$method]) && ! empty($this->returns[$method])) {
            return array_shift($this->returns[$method]);
        }

        return $default;
    }
private function getReturn($method, $default)
    {
        if (isset($this->returns[$method]) && ! empty($this->returns[$method])) {
            return array_shift($this->returns[$method]);
        }

        return $default;
    }
private function getReturn ( $ method , $ default ) { if ( isset ( $ this -> returns [ $ method ] ) && ! empty ( $ this -> returns [ $ method ] ) ) { return array_shift ( $ this -> returns [ $ method ] ) ; } return $ default ; }
Dequeue a value for a specific method invocation

@param string $method
@param mixed $default

@return mixed
Dequeue a value for a specific method invocation