public function __construct($url = null, ParserInterface $parser = null) { $this->url = $url; $this->parser = $parser; }