src/VariableProcessor.php
public function getString($value) {
		if ($this->startsWith($value, '\'') && $this->endsWith($value, '\'')) {
			return ltrim(rtrim($value, '\''), '\'');
		}
		if ($this->startsWith($value, '"') && $this->endsWith($value, '"')) {
			return ltrim(rtrim($value, '"'), '"');
		}

		return $value;
	}
public function getString($value) {
		if ($this->startsWith($value, '\'') && $this->endsWith($value, '\'')) {
			return ltrim(rtrim($value, '\''), '\'');
		}
		if ($this->startsWith($value, '"') && $this->endsWith($value, '"')) {
			return ltrim(rtrim($value, '"'), '"');
		}

		return $value;
	}
public function getString ( $ value ) { if ( $ this -> startsWith ( $ value , '\'' ) && $ this -> endsWith ( $ value , '\'' ) ) { return ltrim ( rtrim ( $ value , '\'' ) , '\'' ) ; } if ( $ this -> startsWith ( $ value , '"' ) && $ this -> endsWith ( $ value , '"' ) ) { return ltrim ( rtrim ( $ value , '"' ) , '"' ) ; } return $ value ; }
Removes ' or " from string

@param string $value
@return string
Removes or from string