Lines Matching refs:value
30 protected $value; variable in PHPUnit_Framework_Constraint_TraversableContains
33 * @param mixed $value
39 …public function __construct($value, $checkForObjectIdentity = true, $checkForNonObjectIdentity = f… argument
53 $this->value = $value;
67 return $other->contains($this->value);
70 if (is_object($this->value)) {
72 if ($this->checkForObjectIdentity && $element === $this->value) {
74 } elseif (!$this->checkForObjectIdentity && $element == $this->value) {
80 if ($this->checkForNonObjectIdentity && $element === $this->value) {
82 } elseif (!$this->checkForNonObjectIdentity && $element == $this->value) {
98 if (is_string($this->value) && strpos($this->value, "\n") !== false) {
99 return 'contains "' . $this->value . '"';
101 return 'contains ' . $this->exporter->export($this->value);