Implement Renderable
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"name": "potter/document",
|
||||
"type": "library",
|
||||
"require": {
|
||||
"php": "^8.4"
|
||||
"php": "^8.4",
|
||||
"potter/renderable": "dev-main"
|
||||
},
|
||||
"license": "MIT",
|
||||
"autoload": {
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,9 @@ declare(strict_types=1);
|
||||
|
||||
namespace Potter\Document;
|
||||
|
||||
interface DocumentInterface
|
||||
use \Potter\Renderable\RenderableInterface;
|
||||
|
||||
interface DocumentInterface extends RenderableInterface
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user