return TRUE;
}
+ /**
+ * Ensure function is being run from the cli.
+ *
+ * @return bool
+ */
public function _accessing_from_cli() {
if (PHP_SAPI === 'cli') {
return TRUE;
parent::initialize();
}
+ /**
+ * Run CLI function.
+ */
public function run() {
$this->row = 1;
$handle = fopen($this->_file, "r");
$this->processLine($params);
}
fclose($handle);
- return NULL;
}
/* return a params as expected */