Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Collection of helper functions for PicaRecord and DaiaPHP
PHP
branch: master

Import AbstractFactory

latest commit 94ff4d6e77
David Maus authored
Failed to load latest commit information.
src Import AbstractFactory
.gitignore Initial commit
.hgignore Initial commit
README.org Initial commit
build.local.xml Initial commit
build.properties Initial commit
build.xml Initial commit
package.xml Initial commit

README.org

HHelper – A collection of helper functions for DaiaPHP and PicaRecord

About

A collection of helper functions for DaiaPHP and PicaRecord.

Defined helper functions

  • \HAB\Helper::complement()

    Return the complement of a function, that is a function that takes the same arguments as the original function and has the same side-effect as the original function but returns a boolean with the opposite truth value.

  • \HAB\Helper::mapMethod()

    Return an array of the results of calling a method for each element of a sequence.

  • \HAB\Helper::mapClone()

    Return an array with clones of each element in sequence.

  • \HAB\Helper::some()

    Return TRUE if at least one element of a sequence matches a predicate.

  • \HAB\Helper::every()

    Return TRUE if every element of a sequence fullfills a predicate.

  • \HAB\Helper::flatten()

    Flatten a sequence.

  • \HAB\Helper::constantly()

    Return function that takes any number of arguments, has no side-effect and constantly returns a value.

Something went wrong with that request. Please try again.