src/value/ValueParser.php
public function parseString($value) {
    if (is_string($value)) {
      return $value;
    }

    $exportValue = var_export($value, true);
    throw new ParseException("'$exportValue' can not be parsed as a string");
  }
public function parseString($value) {
    if (is_string($value)) {
      return $value;
    }

    $exportValue = var_export($value, true);
    throw new ParseException("'$exportValue' can not be parsed as a string");
  }
public function parseString ( $ value ) { if ( is_string ( $ value ) ) { return $ value ; } $ exportValue = var_export ( $ value , true ) ; throw new ParseException ( "'$exportValue' can not be parsed as a string" ) ; }
Tests, if the given value is of type string

@param mixed $value the value
@return string the value as string
@throws ParseException
Tests if the given value is of type string