v7.0.0-beta.5 release
This commit is contained in:
1 parent
1db039ff34
commit
eb467aca79
159 files changed
+7599
-218
No files matched your search
@@ -120,6 +120,17 @@ class IdentityPolicyRepository implements IdentityPolicyRepositoryInterface
|
||||
return $model ? (bool) $model->delete() : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* 정책 모델을 영속화합니다 (Eloquent save 위임).
|
||||
*
|
||||
* @param IdentityPolicy $policy 영속화할 모델
|
||||
* @return bool 저장 성공 여부
|
||||
*/
|
||||
public function save(IdentityPolicy $policy): bool
|
||||
{
|
||||
return (bool) $policy->save();
|
||||
}
|
||||
|
||||
/**
|
||||
* 특정 소스의 정책 개수를 반환합니다.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user