Automation init...3
This commit is contained in:
parent
6ed4598726
commit
80ad5e3d02
@ -64,7 +64,7 @@ abstract class CommonModel extends Model
|
|||||||
{
|
{
|
||||||
return $this->_action = $action;
|
return $this->_action = $action;
|
||||||
}
|
}
|
||||||
final public function getFields(string $key = ""): array
|
final public function getFields(string $key = "", array $fields): array
|
||||||
{
|
{
|
||||||
$allowedFields = array_filter(
|
$allowedFields = array_filter(
|
||||||
$this->allowedFields,
|
$this->allowedFields,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user