16 lines
393 B
PHP
16 lines
393 B
PHP
<?php
|
|
|
|
namespace IriksIT\Manager\Models;
|
|
|
|
/**
|
|
* The page layout of a list: the blocks of the page of one record (a service, a project), in which `{record.<field>}` stands for a
|
|
* field of the record. One row per resource key. See `Support\Blocks::forRecord()`.
|
|
*/
|
|
class BlockTemplate extends Model
|
|
{
|
|
protected function casts(): array
|
|
{
|
|
return ['blocks' => 'array'];
|
|
}
|
|
}
|