/** * New configurations are passed to the name and substitute object. * * @param \SimpleXMLElement $xml * @return \Geissler\CSL\Names\Names */ public function modify(\SimpleXMLElement $xml) { $this->name->modify($xml); if (isset($this->substitute) == true) { $this->substitute->modify($xml); } return $this; }