Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Collection of helper functions for PicaRecord and DaiaPHP
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 Initial commit
build.local.xml Initial commit Initial commit
build.xml Initial commit
package.xml Initial commit

HHelper – A collection of helper functions for DaiaPHP and PicaRecord


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.