Zend\Stratigility\Dispatch::raiseThrowables PHP Method

raiseThrowables() public method

Enables the "raise throwables", causing this instance to raise throwables instead of catch them.
public raiseThrowables ( ) : void
return void
    public function raiseThrowables()
    {
        $this->raiseThrowables = true;
    }

Usage Example

Example #1
0
 /**
  * Toggle the "raise throwables" flag on.
  *
  * @return void
  */
 public function raiseThrowables()
 {
     $this->raiseThrowables = true;
     $this->dispatch->raiseThrowables();
 }
All Usage Examples Of Zend\Stratigility\Dispatch::raiseThrowables