nextdev/varinfo

This package is abandoned and no longer maintained. The author suggests using the phf/varinfo package instead.

Description of variables e.g. for exception messages

Maintainers

Details

gitlab.com/nextdev/varinfo

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

pkg:composer/nextdev/varinfo

This package has no released version yet, and little information is available.


README

DRY helper for describing variables

if (!\is_numeric($foo)) {
    throw new InvalidArgumentException(\sprintf(
        'Expected numeric - %s given',
        new nextdev\Varinfo\Varinfo($foo)
    ));
}