/** * Initializes the DataManager object from and array of options * * @param array $options */ public function fromOptions(array $options) { $this->seo = $this->setupSeo($options); if (null !== $this->seo) { $this->language = $this->seo->getLanguage(); $this->page = $this->seo->getPage(); } }