query = $query; } /** * @return string|FALSE * Ex: 'SELECT', 'INSERT', 'CREATE', 'ALTER' * A FALSE value indicates that a singular verb could not be identified. */ public function getVerb() { if ($this->verb === NULL) { if (preg_match(';(/\*.*/\*\s*)?([a-zA-Z]+) ;', $this->query, $m)) { $this->verb = strtolower($m[2]); } else { $this->verb = FALSE; } } return $this->verb; } }