mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-01-29 09:18:40 +00:00
Improve docblock
This commit is contained in:
parent
ad146a7850
commit
816ca6ff90
|
|
@ -74,6 +74,15 @@ final class Importer extends ImporterAbstract
|
|||
$this->importBatchPosting($start, $end);
|
||||
}
|
||||
|
||||
/**
|
||||
* Import data from request
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function importFromRequest(RequestAbstract $request) : bool
|
||||
{
|
||||
$start = new \DateTime($request->getData('start') ?? 'now');
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ abstract class ImporterAbstract
|
|||
* Constructor
|
||||
*
|
||||
* @param ConnectionInterface $local Database connection
|
||||
* @param ConnectionInterface $remote Database connection
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -46,4 +45,15 @@ abstract class ImporterAbstract
|
|||
{
|
||||
$this->remote = $remote;
|
||||
}
|
||||
|
||||
/**
|
||||
* Import data from request
|
||||
*
|
||||
* @param RequestAbstract $request Request
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
abstract public function importFromRequest(RequestAbstract $request) : bool;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user