15 lines
264 B
PHP
15 lines
264 B
PHP
<?php
|
|
|
|
namespace BeyondCode\Comments\Contracts;
|
|
|
|
|
|
interface Commentator
|
|
{
|
|
/**
|
|
* Check if a comment for a specific model needs to be approved.
|
|
* @param mixed $model
|
|
* @return bool
|
|
*/
|
|
public function needsCommentApproval($model): bool;
|
|
|
|
} |