public function isInstanceOfTypeTemplate(Blerby_Entity_Component $template) { if ($template->parent() instanceof Blerby_Entity_Type && $template->uri === $this->uri && $template->name === $this->name) { return true; } return false; }