mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
Reorganize documentation & update Readme
This commit is contained in:
21
docs/Static-methods.md
Normal file
21
docs/Static-methods.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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:
|
||||
|
||||
```php
|
||||
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)](Base-test-case.md)
|
||||
2. [Collection of elements](Collection-of-elements.md)
|
||||
3. [**Static methods**](Static-methods.md)
|
||||
|
||||
[‹ Back to `Readme`](../README.md)
|
||||
Reference in New Issue
Block a user