public function all()
    {
        $this->recursionCounter++;

        if ($this->recursionCounter <= static::$recursionLimit) {
            return array_map(function ($value) {
                return is_callable($value) ? $value() : $value;
            }, $this->data);
        }

        return [];
    }
public function all()
    {
        $this->recursionCounter++;

        if ($this->recursionCounter <= static::$recursionLimit) {
            return array_map(function ($value) {
                return is_callable($value) ? $value() : $value;
            }, $this->data);
        }

        return [];
    }
public function all ( ) { $ this -> recursionCounter ++ ; if ( $ this -> recursionCounter <= static :: $ recursionLimit ) { return array_map ( function ( $ value ) { return is_callable ( $ value ) ? $ value ( ) : $ value ; } , $ this -> data ) ; } return [ ] ; }
Retrieve all messages on the stack. Prevent recursion beyond the static limit.

@return array
Retrieve all messages on the stack . Prevent recursion beyond the static limit .