setWith() public method

public setWith ( $mixed )
Beispiel #1
0
 public function setWith($value)
 {
     parent::setWith($value);
     $this->value = $value;
     $this->isSet = true;
     return $this;
 }
Beispiel #2
0
 public function setWith($class)
 {
     parent::setWith($class);
     try {
         $this->class = $this->getReflectionClass($class);
     } catch (\exception $exception) {
         $this->fail($this->_('Class \'%s\' does not exist', $class));
     }
     $this->pass();
     return $this;
 }
Beispiel #3
0
 public function setWith($stream)
 {
     parent::setWith($stream);
     $this->streamController = atoum\mock\stream::get($stream);
     return $this;
 }