setWith() public méthode

public setWith ( $mixed )
Exemple #1
0
 public function setWith($value)
 {
     parent::setWith($value);
     $this->value = $value;
     $this->isSet = true;
     return $this;
 }
Exemple #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;
 }
Exemple #3
0
 public function setWith($stream)
 {
     parent::setWith($stream);
     $this->streamController = atoum\mock\stream::get($stream);
     return $this;
 }