src/Debug/Output/Firephp.php
private function getMeta($method, $meta)
    {
        $firePhpMeta = array(
            'Type' => isset($this->firephpMethods[$method])
                ? $this->firephpMethods[$method]
                : $this->firephpMethods['log'],
            // Label
            // File
            // Line
            // Collapsed  (for group)
        );
        if (isset($meta['file'])) {
            $firePhpMeta['File'] = $meta['file'];
            $firePhpMeta['Line'] = $meta['line'];
        }
        if (\in_array($method, array('group','groupCollapsed'))) {
            $firePhpMeta['Collapsed'] = $method == 'groupCollapsed'
                // yes, strings
                ? 'true'
                : 'false';
        }
        return $firePhpMeta;
    }
private function getMeta($method, $meta)
    {
        $firePhpMeta = array(
            'Type' => isset($this->firephpMethods[$method])
                ? $this->firephpMethods[$method]
                : $this->firephpMethods['log'],
            // Label
            // File
            // Line
            // Collapsed  (for group)
        );
        if (isset($meta['file'])) {
            $firePhpMeta['File'] = $meta['file'];
            $firePhpMeta['Line'] = $meta['line'];
        }
        if (\in_array($method, array('group','groupCollapsed'))) {
            $firePhpMeta['Collapsed'] = $method == 'groupCollapsed'
                // yes, strings
                ? 'true'
                : 'false';
        }
        return $firePhpMeta;
    }
private function getMeta ( $ method , $ meta ) { $ firePhpMeta = array ( 'Type' => isset ( $ this -> firephpMethods [ $ method ] ) ? $ this -> firephpMethods [ $ method ] : $ this -> firephpMethods [ 'log' ] , // Label // File // Line // Collapsed  (for group) ) ; if ( isset ( $ meta [ 'file' ] ) ) { $ firePhpMeta [ 'File' ] = $ meta [ 'file' ] ; $ firePhpMeta [ 'Line' ] = $ meta [ 'line' ] ; } if ( \ in_array ( $ method , array ( 'group' , 'groupCollapsed' ) ) ) { $ firePhpMeta [ 'Collapsed' ] = $ method == 'groupCollapsed' // yes, strings ? 'true' : 'false' ; } return $ firePhpMeta ; }
Initialize firephp's meta array

@param string $method PHPDebugConsole method
@param array  $meta   PHPDebugConsole meta values

@return array
Initialize firephp s meta array