Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:58:52 +08:00
commit eac17f89fa
40 changed files with 4048 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace App\Contracts\Doctrine;
use Doctrine\DBAL\Schema\Schema;
interface DoctrineMigrationInterface
{
public function up(Schema $schema): void;
public function down(Schema $schema): void;
public function description(): string;
public function isTransactional(): bool;
}

View File

@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
interface HasUrlsInterface
{
public function urls(): mixed;
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
/**
* Marker interface for Invalide data objects.
*/
interface InvalideDataInterface
{
}

View File

@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
interface InvalideInterface
{
public function invalide(): mixed;
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
/**
* Marker interface for Out data objects.
*/
interface OutDataInterface
{
}

View File

@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
interface OutInterface
{
public function out(): mixed;
}

View File

@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
namespace App\Contracts\Story;
interface StoryInterface
{
public function build(): void;
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
/**
* Marker interface for Urls data objects.
*/
interface UrlsDataInterface
{
}