clock-work

This commit is contained in:
noor
2023-04-24 17:39:09 +05:30
committed by RafficMohammed
parent cf4bec91a6
commit 1eea7ff15e
178 changed files with 13169 additions and 123 deletions

View File

@@ -0,0 +1,16 @@
<?php namespace Clockwork\DataSource;
use Clockwork\Request\Request;
// Data source interface, all data sources must implement this interface
interface DataSourceInterface
{
// Adds collected data to the request and returns it
public function resolve(Request $request);
// Extends the request with an additional data, which is not required for normal use
public function extend(Request $request);
// Reset the data source to an empty state, clearing any collected data
public function reset();
}