public function containsScheme($name) { return strpos($name, sprintf('%s:', $this->getScheme())) === 0; }