add heroicons icon set

This commit is contained in:
2026-01-02 22:04:03 -08:00
parent d2b733bd0e
commit 7f6ed72807
652 changed files with 8591 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ trait OverrideTableTrait
*
* @return Table
*/
public function getTable(string $tableName = null)
public function getTable(string|null $tableName)
{
if ($this->_table instanceof Table) {
return $this->_table;

View File

@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace CheeseCake\Model\Entity;
use Cake\ORM\Entity;
/**
* Secure Entity - must explicitly pass fields that are acceptable to be updated on each newEntity/patchEntity call
*/
class SecureEntity extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
*
* Note that when '*' is set to true, this allows all unspecified fields to
* be mass assigned. For security purposes, it is advised to set '*' to false
* (or remove it), and explicitly make individual fields accessible as needed.
*
* @var array<string, bool>
*/
protected array $_accessible = [];
}