sonsofphp/assert

v0.3.10 2024-09-10 19:46 UTC

This package is auto-updated.

Last update: 2024-10-30 16:44:59 UTC


README

Installation

composer require sonsofphp/assert

Usage

<?php

use SonsOfPHP\Component\Assert\Assert;

Assert::string('test'); // returns true
Assert::string(false); // throws exception

Assert::disable();
Assert::string(1234); // returns false

Learn More