jlaso/assert

an assert class

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

This package is auto-updated.

Last update: 2021-04-15 03:07:07 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