Files
abcParser/axiom_src/Recipients/OnDeleteRecipientInterface.php
richard fb619dccbf
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit
import axiom without dependency on symfony console
2020-06-21 07:36:31 -04:00

28 lines
637 B
PHP

<?php
namespace Enzyme\Axiom\Recipients;
use Enzyme\Axiom\Models\ModelInterface;
use Enzyme\Axiom\Reports\ReportInterface;
interface OnDeleteRecipientInterface
{
/**
* Called when the deletion of a model was a success.
*
* @param ModelInterface $model A shell copy of the deleted model.
*
* @return mixed
*/
public function onDeleteSuccess(ModelInterface $model);
/**
* Called when the deletion of a model was a failure.
*
* @param ReportInterface $report The failure report.
*
* @return mixed
*/
public function onDeleteFailure(ReportInterface $report);
}