jlaso/assert

an assert class

dev-master 2018-11-14 20:20 UTC

This package is auto-updated.

Last update: 2024-12-15 11:04:06 UTC


README

#Class

A class that encapsulates assertions

#Installation

Simply launch composer require jlaso/assert:dev-master from terminal

#Usage

use JLaso\Assert\Assert;

Assert::assertsIsAnEmail("This-is-not-an-email");  // throws an Exception