src/Log.php
public function &getReports($channel = null)
    {
        // Uses the passed channel or fallback to the current selected channel
        $channel = $this->namespaceChannel($channel);

        if (!isset($this->console['reports'][$channel])) {
            // Create a new empty array to return as reference
            $this->console['reports'][$channel] = array();
        }

        return $this->console['reports'][$channel];
    }
public function &getReports($channel = null)
    {
        // Uses the passed channel or fallback to the current selected channel
        $channel = $this->namespaceChannel($channel);

        if (!isset($this->console['reports'][$channel])) {
            // Create a new empty array to return as reference
            $this->console['reports'][$channel] = array();
        }

        return $this->console['reports'][$channel];
    }
public function & getReports ( $ channel = null ) { // Uses the passed channel or fallback to the current selected channel $ channel = $ this -> namespaceChannel ( $ channel ) ; if ( ! isset ( $ this -> console [ 'reports' ] [ $ channel ] ) ) { // Create a new empty array to return as reference $ this -> console [ 'reports' ] [ $ channel ] = array ( ) ; } return $ this -> console [ 'reports' ] [ $ channel ] ; }
Get all the report for the current channel or an specific channel

@param string $channel - (optional) Channel name

@return array
Get all the report for the current channel or an specific channel