Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public function __construct(DI $diObj, $namespace = null, $cronExpression = '')
 {
     parent::__construct($diObj, $namespace, $cronExpression);
     $this->patterns = [];
 }