Compare commits

..

7 Commits

Author SHA1 Message Date
6c0d64d1c6 Implement Renderable 2025-10-25 15:11:46 -04:00
8d0c26eaf9 Create Document 2025-10-25 15:09:41 -04:00
0b2f97ef52 Create AbstractDocument 2025-10-25 15:09:33 -04:00
ec3402183f Create DocumentInterface 2025-10-25 15:09:09 -04:00
2ef8abad55 composer init 2025-10-25 15:07:10 -04:00
cf39ed4a38 Add first name to Copyright 2025-10-25 15:05:36 -04:00
e891cebdc4 Add composer.lock and /nbproject/ 2025-10-25 15:04:44 -04:00
6 changed files with 59 additions and 8 deletions

8
.gitignore vendored
View File

@@ -1,8 +1,4 @@
# ---> Composer composer.lock
composer.phar composer.phar
/nbproject/
/vendor/ /vendor/
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2025 Potter Copyright (c) 2025 Jay Potter
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including associated documentation files (the "Software"), to deal in the Software without restriction, including

21
composer.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "potter/document",
"type": "library",
"require": {
"php": "^8.4",
"potter/renderable": "dev-main"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Potter\\Document\\": "src/Potter/Document/"
}
},
"authors": [
{
"name": "Jay Potter",
"email": "j@ypotter.ca"
}
],
"minimum-stability": "dev"
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace Potter\Document;
use \Potter\Renderable\Renderable;
abstract class AbstractDocument extends Renderable implements DocumentInterface
{
}

View File

@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace Potter\Document;
abstract class Document extends AbstractDocument
{
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace Potter\Document;
use \Potter\Renderable\RenderableInterface;
interface DocumentInterface extends RenderableInterface
{
}