protected function getArgValue($matches)
    {
        $value = $matches['value'];
        if (!empty($matches['file'])) {
            if (!file_exists($matches['value']) || !is_readable($matches['value'])) {
                $this->climate->error('Unable to read input file: ' . $matches['value']);
                return false;
            }
            $value = file_get_contents($matches['value']);
        }

        return $value;
    }
protected function getArgValue($matches)
    {
        $value = $matches['value'];
        if (!empty($matches['file'])) {
            if (!file_exists($matches['value']) || !is_readable($matches['value'])) {
                $this->climate->error('Unable to read input file: ' . $matches['value']);
                return false;
            }
            $value = file_get_contents($matches['value']);
        }

        return $value;
    }
protected function getArgValue ( $ matches ) { $ value = $ matches [ 'value' ] ; if ( ! empty ( $ matches [ 'file' ] ) ) { if ( ! file_exists ( $ matches [ 'value' ] ) || ! is_readable ( $ matches [ 'value' ] ) ) { $ this -> climate -> error ( 'Unable to read input file: ' . $ matches [ 'value' ] ) ; return false ; } $ value = file_get_contents ( $ matches [ 'value' ] ) ; } return $ value ; }
Get argument values

@param $matches
@return bool|string
Get argument values