mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 08:04:04 +00:00
Update VirtualColumn.php
overridden function that checks whether a column is guardable
This commit is contained in:
parent
0b108903b5
commit
e13abfb64b
1 changed files with 11 additions and 0 deletions
|
|
@ -155,4 +155,15 @@ trait VirtualColumn
|
|||
|
||||
return static::getDataColumn() . '->' . $column;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the given column is a valid, guardable column.
|
||||
*
|
||||
* @param string $key
|
||||
* @return bool
|
||||
*/
|
||||
protected function isGuardableColumn($key)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue