Files
wiosna-dev_common-library/docs/Static-methods.md
2019-09-18 15:13:03 +02:00

863 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. Templates
  4. Exceptions
  5. Static methods
    1. Arrays
    2. Regex
    3. Uri
  6. Value Objects

Back to Readme