Implement Renderable

This commit is contained in:
2025-10-25 15:11:46 -04:00
parent 8d0c26eaf9
commit 6c0d64d1c6
3 changed files with 8 additions and 3 deletions

View File

@@ -2,7 +2,8 @@
"name": "potter/document",
"type": "library",
"require": {
"php": "^8.4"
"php": "^8.4",
"potter/renderable": "dev-main"
},
"license": "MIT",
"autoload": {

View File

@@ -4,7 +4,9 @@ declare(strict_types=1);
namespace Potter\Document;
abstract class AbstractDocument implements DocumentInterface
use \Potter\Renderable\Renderable;
abstract class AbstractDocument extends Renderable implements DocumentInterface
{
}

View File

@@ -4,7 +4,9 @@ declare(strict_types=1);
namespace Potter\Document;
interface DocumentInterface
use \Potter\Renderable\RenderableInterface;
interface DocumentInterface extends RenderableInterface
{
}