/** * Gets the name, but first checks _construct_finalize has been called. If not, * calls it (assumes there is no parent and that we want the name to be whatever * was set, which is probably nothing, or the classname) * * @return string * @throws \EE_Error */ public function name() { $this->ensure_construct_finalized_called(); return parent::name(); }