Download the PHP package icecave/traitor without Composer
On this page you can find all versions of the php package icecave/traitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package traitor
Traitor
Traitor is a PHP library for dynamically generating classes that implement certain interfaces by use of traits. The primary purpose is for creating test mocks.
- Install via Composer package icecave/traitor
- Read the API documentation
Example
The example below creates an instance of an object that implements the SomeInterface
interface by using the SomeTrait
trait. It is passed the values 1
, 2
, and 3
as constructor parameters.
Contact us
- Follow @IcecaveStudios on Twitter
- Visit the Icecave Studios website
- Join
#icecave
on irc.freenode.net
All versions of traitor with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package icecave/traitor contains the following files
Loading the files please wait ....