定制 tdt/exceptions 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tdt/exceptions

最新稳定版本:v1.4

Composer 安装命令:

composer require tdt/exceptions

包简介

An exception package, made extensible through an ini file.

关键字:

README 文档

README

A repository to create and return exceptions according to an ini file.

Usage

You can include this in your PHP project through the PHP composer. Using TDTExceptions is very easy:

throw new TDTException(452,array(parameter1, parameter2));

This will cause the class TDTException look in the exceptions.ini file. From that file it will extract the necessary information such documentation, and message to create a nice exception. In the exceptions.ini file you can see the message can accept parameters. These are the parameters you pass along with the constructor in the array as second parameter. In the ini file you can address these parameters by $1,$2,...

统计信息

  • 总下载量: 951
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: AGPLv3
  • 更新时间: 2013-01-19