17 lines
301 B
PHP
17 lines
301 B
PHP
<?php
|
|
namespace App\CMS\Contracts\Content\DisplayPipeline;
|
|
|
|
use App\Models\Content\Content;
|
|
|
|
interface Pipeline {
|
|
/**
|
|
* Add new process into pipeline
|
|
*
|
|
* @param Process $proces
|
|
*
|
|
* @return mixed
|
|
*
|
|
*/
|
|
function add($process);
|
|
function run(Content $page);
|
|
} |