/** * This method will return an empty array when constructor failed. * * {@inheritdoc} */ public function getIds() { $result = array(); if ($this->works) { $result = parent::getIds(); } return $result; }
/** * This method will return an empty array when constructor failed. * * {@inheritdoc} */ public function getIds() { $result = array(); if ($this->works) { $result = parent::getIds(); } return $result; }