roave/dont 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

roave/dont

最新稳定版本:1.6.0

Composer 安装命令:

composer require roave/dont

包简介

A small set of traits that can be used to prevent misuse of your objects

README 文档

README

roave/dont is a small PHP package aimed at enforcing good practices when it comes to designing defensive code.

Infection MSI Packagist Packagist

Installation

composer require roave/dont

Usage

The package currently provides the following traits:

Usage is straightforward:

use Dont\DontSerialise;

class MyClass
{
    use DontSerialise;
}

serialize(new MyClass); // will throw an exception

统计信息

  • 总下载量: 256.6k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 402
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 399
  • Watchers: 11
  • Forks: 21
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-11