Files
wiosna-dev_common-library/docs/Static-methods.md
2018-07-02 09:31:07 +02:00

668 B
Raw Blame History

Meritoo Common Library

Common and useful classes, methods, exceptions etc.

Static methods

This package contains a lot of class with static methods, so usage is not so complicated. Just run the static method who would you like to use. Example:

use Meritoo\Common\Utilities\Arrays;

$firstElement = Arrays::getFirstElement(['lorem', 'ipsum']);
var_dump($firstElement); // string(5) "lorem"

More

  1. Base test case (with common methods and data providers)
  2. Collection of elements
  3. Exceptions
  4. Static methods

Back to Readme