Initial commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
interface HasUrlsInterface
|
||||
{
|
||||
public function urls(): mixed;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
/**
|
||||
* Marker interface for Invalide data objects.
|
||||
*/
|
||||
interface InvalideDataInterface
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
interface InvalideInterface
|
||||
{
|
||||
public function invalide(): mixed;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
/**
|
||||
* Marker interface for Out data objects.
|
||||
*/
|
||||
interface OutDataInterface
|
||||
{
|
||||
}
|
||||
10
skills/make-contracts/templates/Contracts/OutInterface.php
Normal file
10
skills/make-contracts/templates/Contracts/OutInterface.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
interface OutInterface
|
||||
{
|
||||
public function out(): mixed;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts\Story;
|
||||
|
||||
interface StoryInterface
|
||||
{
|
||||
public function build(): void;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
/**
|
||||
* Marker interface for Urls data objects.
|
||||
*/
|
||||
interface UrlsDataInterface
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user