checkOverwriteRunMethod() public static method

check if the sub class of Process has overwrite the run method
public static checkOverwriteRunMethod ( $child_class )
$child_class
Example #1
0
 public function testError()
 {
     $this->setExpectedException("RuntimeException");
     \Jenner\SimpleFork\Utils::checkOverwriteRunMethod(get_class(new \Jenner\SimpleFork\Process()));
 }