mggflow/linksflow

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

This package is auto-updated.

Last update: 2024-12-06 23:19:51 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;
}