12 lines
177 B
PHP
12 lines
177 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Interfaces;
|
|
|
|
interface ModelWithStar
|
|
{
|
|
public function setStar(bool $value): void;
|
|
|
|
public function toggleStar(): void;
|
|
}
|