public function __construct(DI $diObj, $namespace = null, $cronExpression = '') { self::$equalsFunc = function ($string, $needle) { return $string == $needle; }; self::$containsFunc = function ($string, $needle) { return strpos($string, $needle) !== false; }; parent::__construct($diObj, $namespace, $cronExpression); }
public function __construct(DI $diObj, $namespace = null, $cronExpression = '') { parent::__construct($diObj, $namespace, $cronExpression); $this->patterns = []; }