oxygen/data
最新稳定版本:0.12.1
Composer 安装命令:
composer require oxygen/data
包简介
Oxygen's Data Layer
README 文档
README
This repository contains the Oxygen Data Layer.
For more information visit the Core repository.
Doctrine 2 Wrapper
The data package is focused around the robust Doctrine 2 ORM.
Behaviours
Accessorsprovides automaticgetXYZandsetXYZmethods on entitiesAuthenticationprovides an email, password and remember token.CacheInvalidatoradds acacheInvalidationSettingsfield, where different entities can be registered. When$thisis updated, the eventoxygen.entity.cache.invalidatedwill be fired for each of the entities insidecacheInvalidationSettings.Fillableadds thefromArraymethod which can update entity fields from an input arrayPrimaryKeyadds a simple ID field with getters and setters.Publishesadds astagefield, entities can be either a draft or publishedRememberTokenprovides an email and remember token.SoftDeletesadds thedeletedAtfield, calldelete()on the entity to 'soft' delete it.TimestampsaddscreatedAtandupdatedAtfields that are automatically updatedVersionsadds versioning capabilities to the entity (warning: it requires two fields (versionsandheadVersion) to be already present in the entity and set up with the correct relationship information)
统计信息
- 总下载量: 984
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 9
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-15