think: Exception Driven Design
A port(?) of guava preconditions in PHP
https://github.com/google/guava/wiki/PreconditionsExplained
should throw an error if $parameter is null
<?php
preconditions()->checkNotNull($parameter);
A port(?) of guava preconditions in PHP
think: Exception Driven Design
A port(?) of guava preconditions in PHP
https://github.com/google/guava/wiki/PreconditionsExplained
should throw an error if $parameter is null
<?php
preconditions()->checkNotNull($parameter);