Commit d0d1d6a8 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

PHP 7.4

parent 9d8bc3d0
......@@ -9,7 +9,7 @@
}
],
"require": {
"php": "7.3.*",
"php": ">=7.3",
"unicaen/app": "^3.0",
"doctrine/dbal": "^2.9",
"beberlei/assert": "^2.7",
......
......@@ -217,5 +217,4 @@ class ConsoleController extends AbstractConsoleController
$this->getConsole()->writeLine("");
}
}
\ No newline at end of file
<?php
namespace UnicaenDbImport\Service\Traits;
use UnicaenDbImport\Service\SynchroService;
trait SynchroServiceAwareTrait {
/** @var SynchroService */
private $synchroService;
/**
* @return SynchroService
*/
public function getSynchroService(): SynchroService
{
return $this->synchroService;
}
/**
* @param SynchroService $synchroService
* @return SynchroService
*/
public function setSynchroService(SynchroService $synchroService): SynchroService
{
$this->synchroService = $synchroService;
return $this->getSynchroService();
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment