Download the PHP package gianarb/angry without Composer
On this page you can find all versions of the php package gianarb/angry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gianarb/angry
More information about gianarb/angry
Files in gianarb/angry
Download gianarb/angry
More information about gianarb/angry
Files in gianarb/angry
Vendor gianarb
Package angry
Short Description A collection of traits to defend classes from mis-use.
License MIT
Package angry
Short Description A collection of traits to defend classes from mis-use.
License MIT
Please rate this library. Is it a good library?
Informations about the package angry
Angry
This library is a collection of traits to stop mis-use of your classes. Based on @ocramius talk "Defensive Programming".
Installation
Getting Started
- Block
clone
of a class useGianArb\Angry\Unclonable
trait. - Block invoking of a class e.g.
$className();
useGianArb\Angry\Uninvokable
trait. - Block serialization of a class use
GianArb\Angry\Unserializable
trait. - Block all of the above use
GianArb\Angry\ClassDefence
trait.
Remember: the best way to write code is be lazy! http://blogoscoped.com/archive/2005-08-24-n14.html.
All versions of angry with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3 || ~8.0
The package gianarb/angry contains the following files
Loading the files please wait ....