protected function compileStatementsCallback($match) { if (method_exists($this, $method = 'compile' . ucfirst($match[1]))) { $match[0] = $this->{$method}(array_get($match, 3)); } return isset($match[3]) ? $match[0] : $match[0] . $match[2]; }