Download the PHP package thrashzone13/visitor without Composer
On this page you can find all versions of the php package thrashzone13/visitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thrashzone13/visitor
More information about thrashzone13/visitor
Files in thrashzone13/visitor
Download thrashzone13/visitor
More information about thrashzone13/visitor
Files in thrashzone13/visitor
Vendor thrashzone13
Package visitor
Short Description Simple implementation of visitor design pattern
License MIT
Homepage https://github.com/thrashzone13/visitor
Package visitor
Short Description Simple implementation of visitor design pattern
License MIT
Homepage https://github.com/thrashzone13/visitor
Keywords visitorthrashzone13
Please rate this library. Is it a good library?
Informations about the package visitor
visitor
This package provides a visitor pattern implementation.
Visitor Pattern
Visitor is a behavioral design pattern that lets you separate algorithms from the objects on which they operate.
Install
Via Composer
Usage
Consider having an array of different kinds of shapes
Let's say the intention is to calculate their area and sum them up. There can be a visitor which does the calculation regarding the type of the received instance
Now it's ready to use!
License
The MIT License (MIT). Please see License File for more information.
All versions of visitor with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0
The package thrashzone13/visitor contains the following files
Loading the files please wait ...