aboutsummaryrefslogtreecommitdiffstats
path: root/Model/Collection.php
Commit message (Collapse)AuthorAgeFiles
* Happy new year \o/.Ivan Enderlin2014-01-071
|
* Add getNth() method: get clauses from positions.Ivan Enderlin2013-09-171
|
* Use Hoa\Iterator\Map.Ivan Enderlin2013-05-131
|
* Use \Hoa\Iterator.Ivan Enderlin2013-05-011
|
* Add the Countable interface to Collection.Ivan Enderlin2013-04-171
|
* Introduce collection of clauses.Ivan Enderlin2013-04-161
Clauses can have variables, so that they extend Declaration. But a specification or a behavior can have a collection of other clauses, such as a collection of behavior, represented by an identifier. To build a collection of clauses, we need to instance the Collection class with a preset clause and post-clone function. For each new offset in the collection, the associated value is a clone from the preset clause with the post-clone function applied on this clone. This mechanism allows us to build modular collection of clauses.