public function supportsClass($classname) { $classname = str_replace('/', '\\', $classname); return '' === $this->srcNamespace || 0 === strpos($classname, $this->srcNamespace) || 0 === strpos($classname, $this->specNamespace); }