public function setWith($value) { parent::setWith($value); if ($this->analyzer->isResource($this->value) === true) { $this->pass(); } else { $this->fail($this->_('%s is not a resource', $this)); } return $this; }
public function setWith($value) { variable::setWith($value); if ($this->analyzer->isFloat($this->value) === true) { $this->pass(); } else { $this->fail($this->_('%s is not a float', $this)); } return $this; }
public function setWith($value, $charlist = null, $checkType = true) { parent::setWith($value); $this->charlist = $charlist; if ($checkType === true) { if ($this->analyzer->isString($this->value) === true) { $this->pass(); } else { $this->fail($this->_('%s is not a string', $this)); } } return $this; }