Download the PHP package pietdevries94/single-class-collection without Composer
On this page you can find all versions of the php package pietdevries94/single-class-collection. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download pietdevries94/single-class-collection
More information about pietdevries94/single-class-collection
Files in pietdevries94/single-class-collection
Download pietdevries94/single-class-collection
More information about pietdevries94/single-class-collection
Files in pietdevries94/single-class-collection
Vendor pietdevries94
Package single-class-collection
Short Description An abstract class which provides provides an collection which only can only contain objects of a single class
License MIT
Homepage https://laravel.com
Package single-class-collection
Short Description An abstract class which provides provides an collection which only can only contain objects of a single class
License MIT
Homepage https://laravel.com
Please rate this library. Is it a good library?
Informations about the package single-class-collection
Single Class Collection
An abstract class which provides provides an collection which only can only contain objects of a single class.
Ther reason for this package is if you want to make a collection with specific methods for a class, you can be sure that the class solely contains that specific class.
Usage
Extend the abstract class in this package and overwrite the protected property $collectionClass
with the fully
qualified class name. The best way to do this is by using ::class
.
Example
All versions of single-class-collection with dependencies
PHP Build Version
Package Version
The package pietdevries94/single-class-collection contains the following files
Loading the files please wait ....