__construct() public method

public __construct ( $definedTask )
Ejemplo n.º 1
0
 public function __construct($definedTask)
 {
     if (!$definedTask->hasClosure()) {
         throw new \RuntimeException("The task don't have a closure");
     }
     parent::__construct($definedTask);
 }