PHP Class GrumPHP\Exception\RuntimeException

Inheritance: extends RuntimeException, implements ExceptionInterface
Show file Open project: phpro/grumphp Class Usage Examples

Public Methods

Method Description
fromAnyException ( Exceptio\Exception $e ) : RuntimeException
invalidTaskReturnType ( GrumPHP\Task\TaskInterface $task ) : RuntimeException

Method Details

fromAnyException() public static method

public static fromAnyException ( Exceptio\Exception $e ) : RuntimeException
$e Exceptio\Exception
return RuntimeException

invalidTaskReturnType() public static method

public static invalidTaskReturnType ( GrumPHP\Task\TaskInterface $task ) : RuntimeException
$task GrumPHP\Task\TaskInterface
return RuntimeException