add permission, datatable and file services

This commit is contained in:
2025-04-29 13:35:25 +03:30
parent 3404f7ed09
commit 0ce8dc1030
39 changed files with 1623 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Services\DataTable\Exceptions;
use Exception;
class InvalidSortingException extends Exception implements InvalidParameterInterface
{
protected $fieldName;
public function __construct($fieldName, $message = "", $code = 400, \Throwable $previous = null)
{
$this->fieldName = $fieldName;
parent::__construct($message, $code, $previous);
}
public function getFieldName()
{
return $this->fieldName;
}
}