wp-launchpad/framework-options
最新稳定版本:v3.1.0
Composer 安装命令:
composer require wp-launchpad/framework-options
包简介
Options library for the framework Launchpad
README 文档
README
This module provides options facades.
For that we have 3 types of options:
- Options: Regular options.
- Transients: Temporary options.
- Settings: Plugin settings all saved in the same place.
Install
To install the library run the following command: composer require wp-launchpad/framework-options-take-off
Structure
Options are build around inflectors which add automatically facades to the objects aware about them.
For the Options you should implement the interface LaunchpadFrameworkOptions\Interfaces\OptionsAwareInterface and the trait LaunchpadFrameworkOptions\Traits\OptionsAwareTrait.
For the Transients you should implement the interface LaunchpadFrameworkOptions\Interfaces\TransientsAwareInterface and the trait LaunchpadFrameworkOptions\Traits\TransientsAwareTrait.
For the Settings you should implement the interface LaunchpadFrameworkOptions\Interfaces\SettingsAwareInterface and the trait LaunchpadFrameworkOptions\Traits\SettingsAwareTrait.
统计信息
- 总下载量: 322
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-04-26