getClassName(); } public function getModelClass(): string { return Model::class; } public function getEntityClass(): string { return Entity::class; } public function save($service, string $method, AuthService $myauth, string $title): Entity { $formDatas = [ 'user_uid' => $myauth->getUIDByAuthInfo(), 'class_name' => $service->getClassName(), 'method_name' => $method, 'title' => $title, 'content' => LogCollector::dump(), ]; LogCollector::clear(); return $this->getModel()->create($formDatas, new Entity()); } }