mggflow/linksflow

v2.0.0 2023-03-06 19:15 UTC

This package is auto-updated.

Last update: 2024-04-06 21:51:06 UTC


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;
}