jlaso / assert
an assert class
dev-master
2018-11-14 20:20 UTC
Requires
- php: >=5.3.29
This package is auto-updated.
Last update: 2024-11-15 10:54:38 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