2017 © Pedro Peláez
 

library visitor

The Hoa\Visitor library.

image

hoa/visitor

The Hoa\Visitor library.

  • Tuesday, January 23, 2018
  • by Hoa
  • Repository
  • 11 Watchers
  • 15 Stars
  • 867,842 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 8 Forks
  • 1 Open issues
  • 11 Versions
  • 6 % Grown

The README.md

Hoa , (*1)


Build status Code coverage Packagist License , (*2)

Hoa is a modular, extensible and structured set of PHP libraries.
Moreover, Hoa aims at being a bridge between industrial and research worlds. , (*3)

Hoa\Visitor

Help on IRC Help on Gitter Documentation Board, (*4)

This library provides interfaces to apply the visitor pattern., (*5)

Learn more., (*6)

Installation

With Composer, to include this library into your dependencies, you need to require hoa/visitor:, (*7)

$ composer require hoa/visitor '~2.0'

For more installation procedures, please read the Source page., (*8)

Testing

Before running the test suites, the development dependencies must be installed:, (*9)

$ composer install

Then, to run all the test suites:, (*10)

$ vendor/bin/hoa test:run

For more information, please read the contributor guide., (*11)

Quick usage

We propose to explain the basis of this library. We have two entities: an element to visit and a visitor, for example a node of a tree and a dumper. The element to visit will implement the Hoa\Visitor\Element interface and the visitor will implement the Hoa\Visitor\Visit interface. The first one will ask to implement the accept method in order to define what data it holds will be visited. The second one will ask to implement the visit method which will contain the visitor computations. We will find several examples in Hoa libraries., (*12)

Documentation

The hack book of Hoa\Visitor contains detailed information about how to use this library and how it works., (*13)

To generate the documentation locally, execute the following commands:, (*14)

$ composer require --dev hoa/devtools
$ vendor/bin/hoa devtools:documentation --open

More documentation can be found on the project's website: hoa-project.net., (*15)

Getting help

There are mainly two ways to get help:, (*16)

Contribution

Do you want to contribute? Thanks! A detailed contributor guide explains everything you need to know., (*17)

License

Hoa is under the New BSD License (BSD-3-Clause). Please, see LICENSE for details., (*18)

The Versions

23/01 2018

dev-master

9999999-dev https://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

16/01 2017

2.17.01.16

2.17.01.16 https://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

11/01 2016

2.16.01.11

2.16.01.11 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

17/08 2015

1.15.08.17

1.15.08.17 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

29/05 2015

1.15.05.29

1.15.05.29 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

26/02 2015

1.15.02.26

1.15.02.26 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

10/12 2014

1.14.12.10

1.14.12.10 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

library structure visitor visit

15/11 2014

1.14.11.15

1.14.11.15 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

library structure visitor visit

23/09 2014

0.14.09.23

0.14.09.23 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

library structure visitor visit

17/09 2014

0.14.09.17

0.14.09.17 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

library structure visitor visit

16/09 2014

0.14.09.16

0.14.09.16 http://hoa-project.net/

The Hoa\Visitor library.

  Sources   Download

BSD-3-Clause

The Requires

 

library structure visitor visit