public function supportsQuery($query) { $path = $this->getQueryPath($query); if (null === $path) { return false; } return 0 === strpos($path, $this->srcPath) || 0 === strpos($path, $this->specPath); }