src/FileLoader.php
public function processValue($value) {
		$value = ltrim(rtrim($value));

		if ($this->processor->isBool($value)) {
			return $this->processor->getBool($value);
		}

		if ($this->processor->isNumber($value)) {
			return $this->processor->getNumber($value);
		}

		if ($this->processor->isNull($value)) {
			return null;
		}

		return $this->processor->getString($value);
	}
public function processValue($value) {
		$value = ltrim(rtrim($value));

		if ($this->processor->isBool($value)) {
			return $this->processor->getBool($value);
		}

		if ($this->processor->isNumber($value)) {
			return $this->processor->getNumber($value);
		}

		if ($this->processor->isNull($value)) {
			return null;
		}

		return $this->processor->getString($value);
	}
public function processValue ( $ value ) { $ value = ltrim ( rtrim ( $ value ) ) ; if ( $ this -> processor -> isBool ( $ value ) ) { return $ this -> processor -> getBool ( $ value ) ; } if ( $ this -> processor -> isNumber ( $ value ) ) { return $ this -> processor -> getNumber ( $ value ) ; } if ( $ this -> processor -> isNull ( $ value ) ) { return null ; } return $ this -> processor -> getString ( $ value ) ; }
Creates value from string

@param string $value
@return bool|number|null|string
Creates value from string