ProtectedArticle.php 266 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. namespace TestApp\Model\Entity;
  4. use Cake\ORM\Entity;
  5. /**
  6. * Test entity for mass assignment.
  7. */
  8. class ProtectedArticle extends Entity
  9. {
  10. protected array $_accessible = [
  11. 'title' => true,
  12. 'body' => true,
  13. ];
  14. }