ParserData.php
public function getField($name)
    {
        if (isset($this->fields[$name])) {
            return $this->fields[$name];
        } else {
            throw new \InvalidArgumentException('Field with name '.$name.' not found');
        }
    }
public function getField($name)
    {
        if (isset($this->fields[$name])) {
            return $this->fields[$name];
        } else {
            throw new \InvalidArgumentException('Field with name '.$name.' not found');
        }
    }
public function getField ( $ name ) { if ( isset ( $ this -> fields [ $ name ] ) ) { return $ this -> fields [ $ name ] ; } else { throw new \ InvalidArgumentException ( 'Field with name ' . $ name . ' not found' ) ; } }
Gets a field
Gets a field