abstract class PermissionModelAbstract implements PermissionModelInterface
{
public function setDataValidator(string $action, string $method, DataPermissionValidatorInterface $validator = new DefaultDataValidator())
{
$this->model[$action . '/' . $method]['validator'] = $validator;
}
}