Start with snips content abstraction
This commit is contained in:
18
src/Service/SnipContent/SnipContentInterface.php
Normal file
18
src/Service/SnipContent/SnipContentInterface.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Service\SnipContent;
|
||||
|
||||
interface SnipContentInterface
|
||||
{
|
||||
public function update(string $snipContents): void;
|
||||
|
||||
public function get(): string;
|
||||
|
||||
public function getHistory(): array;
|
||||
|
||||
public function setCommit(string $commit): void;
|
||||
|
||||
public function getCommit(): string;
|
||||
|
||||
public function delete(): void;
|
||||
}
|
Reference in New Issue
Block a user