Defines a named channel for planner integrations with capabilities.
// Source: https://github.com/metadist/synaplan | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
<?php
declare(strict_types=1);
namespace App\Service\Connection;
/**
* One connected system as the planner (and the user) should name it.
*
* The key is the only identifier that belongs in prompts — never a numeric
* connection id. Keys are lowercase slugs (`nextcloud`, `calendar`, `folder`).
*/
final readonly class PlannerChannel
{
public const KIND_FOLDER = 'folder';
public const KIND_CALENDAR = 'calendar';
public const KIND_MAIL = 'mail';
/**
* @param list<string> $capabilities planner capabilities that may use this channel
*/
public function __
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key