hugol/use-case
Composer 安装命令:
composer require hugol/use-case
包简介
use case for Sprint Technology
README 文档
README
Use case for Sprint Technology
Installation
execute the following command in your directory
composer require hugol/use-case:dev-main
setup
require vendor/autoload.php in your index.php
then use Hugol\UseCase\BoardingCardManager
new BoardingCardManager('your-file.extension')
Your file need to be at the root of your project
file extension supported: PHP, JSON
Exemple of file:
<?php return [ ['from' => '', 'to' => '', 'seat' => '', 'type' => ''], ];
data format
| name | type | description |
|---|---|---|
from |
string | start point |
to |
string | end point |
seat |
string | seat number |
type |
string | type of vehicule (bus, train, plane) |
reference |
string | reference of the boarding card |
dock |
string | only trains dock from wich the train leaves |
gate |
string | only plane gate through which we board the plane |
transfer |
boolean | only plane are the baggages automaticaly transferred from last travel |
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-30