If I chain some setters together and one of them does not return $this, then I will get a fatal error. But maybe that is a good thing.$object = new object();$object->set('name','foo')->set('number',12)->set('color'=>'brown');class object {  protected $name;  protected $number;  protected $color;  protected $allowed_to_set = array('name','color');  public function set($property,$value) {    if(!in_array((string)$property,$this->allowed_to_set)) {      return false;    } else {      $this->$property = $value;      return $this;    }  }}
Does it make sense to break fluid interface if a bad argument is passed?
php;interfaces