【文件属性】:
文件名称:结构:Netflex结构库
文件大小:34KB
文件格式:ZIP
更新时间:2021-02-12 20:52:33
hacktoberfest PHP
Netflex结构
雄辩的兼容模型,可用于Netflex结构。
安装
composer require netflex/structure
用法示例
<?php
use Netflex \ Structure \ Model ;
/**
* @property string $permalink
*/
class Article extends Model
{
/**
* The directory_id associated with the model.
*
* @var int
*/
protected $ relationId = 10000 ;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $ fillable
【文件预览】:
structures-develop
----composer.json(749B)
----composer.lock(175KB)
----.github()
--------PULL_REQUEST_TEMPLATE.md(663B)
--------COMMIT_MESSAGE_GUIDELINES.md(3KB)
--------ISSUE_TEMPLATE()
----LICENSE(1KB)
----CONTRIBUTING.md(797B)
----.env.example(41B)
----src()
--------EditorBlocks.php(3KB)
--------Entry.php(700B)
--------Model.php(5KB)
--------Field.php(7KB)
--------Traits()
--------File.php(655B)
--------Structure.php(3KB)
--------JSON.php(756B)
--------Image.php(324B)
----.gitignore(169B)
----CODE_OF_CONDUCT.md(3KB)
----README.md(2KB)