public function setTarget($target) {
		$value = trim($target);
		if ($value == self::STDOUT || strtoupper($value) == 'STDOUT') {
			$this->target = self::STDOUT;
		} elseif ($value == self::STDERR || strtoupper($value) == 'STDERR') {
			$this->target = self::STDERR;
		} else {
			$target = var_export($target);
			$this->warn("Invalid value given for 'target' property: [$target]. Property not set.");
		}
	}
public function setTarget($target) {
		$value = trim($target);
		if ($value == self::STDOUT || strtoupper($value) == 'STDOUT') {
			$this->target = self::STDOUT;
		} elseif ($value == self::STDERR || strtoupper($value) == 'STDERR') {
			$this->target = self::STDERR;
		} else {
			$target = var_export($target);
			$this->warn("Invalid value given for 'target' property: [$target]. Property not set.");
		}
	}
public function setTarget ( $ target ) { $ value = trim ( $ target ) ; if ( $ value == self :: STDOUT || strtoupper ( $ value ) == 'STDOUT' ) { $ this -> target = self :: STDOUT ; } elseif ( $ value == self :: STDERR || strtoupper ( $ value ) == 'STDERR' ) { $ this -> target = self :: STDERR ; } else { $ target = var_export ( $ target ) ; $ this -> warn ( "Invalid value given for 'target' property: [$target]. Property not set." ) ; } }
Sets the 'target' parameter.
@param string $target
Sets the target parameter .