We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/context-hub/generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
AbstractBlock.php•494 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Lib\Content\Block;
/**
* Abstract base class for content blocks
*/
abstract readonly class AbstractBlock implements BlockInterface
{
/**
* @param string $content The content of the block
*/
public function __construct(
protected string $content,
) {}
/**
* Get the content of the block
*/
public function __toString(): string
{
return $this->content;
}
}