Beispiel #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testUnknownActionsNotAllowedThroughSetter()
 {
     $this->fk->setOnDelete('i m dump');
 }
 /**
  * Sets ON DELETE action for the foreign key.
  *
  * @param string $onDelete
  *
  * @return $this
  */
 public function setOnDelete($onDelete)
 {
     $this->foreign->setOnDelete($onDelete);
     return $this;
 }