public function getData()
    {
        $return = [];

        foreach ($this->collections as $collection) {
            $return[$collection->name()] = $collection->items();
        }

        if (count($this->dump) != 0) {
            $return['dump'] = $this->dump;
        }

        return $return;
    }
public function getData()
    {
        $return = [];

        foreach ($this->collections as $collection) {
            $return[$collection->name()] = $collection->items();
        }

        if (count($this->dump) != 0) {
            $return['dump'] = $this->dump;
        }

        return $return;
    }
public function getData ( ) { $ return = [ ] ; foreach ( $ this -> collections as $ collection ) { $ return [ $ collection -> name ( ) ] = $ collection -> items ( ) ; } if ( count ( $ this -> dump ) != 0 ) { $ return [ 'dump' ] = $ this -> dump ; } return $ return ; }
Return result debug data.

@return array
Return result debug data .