tbpixel/drupalorm

此包已被废弃,不再维护。没有建议的替代包。

Drupal 对象关系映射

安装: 167

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

公开问题: 0

类型:

dev-master 2019-02-25 17:50 UTC

This package is auto-updated.

Last update: 2020-01-25 19:41:46 UTC


README

注意:该项目不受支持,强烈建议用户寻求Doctrine或Eloquent等ORM实现。

安装

使用composer依赖安装: composer require tbpixel/drupalorm:dev-master

如何使用

use TBPixel\DrupalORM\Models\Node\Node;

// Returns the first node in the database
$node = Node::all()->first();
// Or you can use object instantiation
$node = (new Node)->first();