mggflow / linksflow
v2.0.0
2023-03-06 19:15 UTC
Requires
- ext-json: *
- mggflow/exception-manager: ^2.1
README
About
This package is core of backend logic of LINKSFLOW service.
Usage
To install:
composer require mggflow/linksflow
Example of creation Link:
// Fields of Link as (object)[...].
// Implements Interfaces/LinkData.
$linkData = new LinkData();
$createLink = new CreateLink($linkData, $link);
try {
$link->id = $createLink->create();
} catch (IncorrectLinkOptions | AliasNonUnique $exception) {
throw $exception;
}