public function __construct($coord = null, C\ParserInterface $parser = null) { if (is_null($parser)) { $parser = $this->guessParser($coord); } $this->setParser($parser); if (!is_null($coord)) { $this->set($coord); } }