Compare commits
2 Commits
5a351c107a
...
c6d7e572e4
| Author | SHA1 | Date | |
|---|---|---|---|
| c6d7e572e4 | |||
| 134908ba30 |
@ -6,8 +6,7 @@ use App\Entities\CommonEntity;
|
|||||||
|
|
||||||
abstract class CustomerEntity extends CommonEntity
|
abstract class CustomerEntity extends CommonEntity
|
||||||
{
|
{
|
||||||
private ?ClientEntity $_clientEntity = null;
|
protected function __construct(array|null $data = null)
|
||||||
public function __construct(array|null $data = null)
|
|
||||||
{
|
{
|
||||||
parent::__construct($data);
|
parent::__construct($data);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@ use App\Entities\Equipment\EquipmentEntity;
|
|||||||
|
|
||||||
abstract class PartEntity extends EquipmentEntity
|
abstract class PartEntity extends EquipmentEntity
|
||||||
{
|
{
|
||||||
public function __construct(array|null $data = null)
|
protected function __construct(array|null $data = null)
|
||||||
{
|
{
|
||||||
parent::__construct($data);
|
parent::__construct($data);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@ use App\Helpers\CommonHelper;
|
|||||||
|
|
||||||
abstract class CustomerHelper extends CommonHelper
|
abstract class CustomerHelper extends CommonHelper
|
||||||
{
|
{
|
||||||
public function __construct()
|
protected function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@ use App\Helpers\Equipment\EquipmentHelper;
|
|||||||
|
|
||||||
abstract class PartHelper extends EquipmentHelper
|
abstract class PartHelper extends EquipmentHelper
|
||||||
{
|
{
|
||||||
public function __construct()
|
protected function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@ abstract class CustomerService extends CommonService
|
|||||||
private ?UserService $_userService = null;
|
private ?UserService $_userService = null;
|
||||||
private ?ClientService $_clientService = null;
|
private ?ClientService $_clientService = null;
|
||||||
private $_equipmentService = [];
|
private $_equipmentService = [];
|
||||||
public function __construct()
|
protected function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->addClassName('Customer');
|
$this->addClassName('Customer');
|
||||||
|
|||||||
@ -6,7 +6,7 @@ use App\Services\Equipment\EquipmentService;
|
|||||||
|
|
||||||
abstract class PartService extends EquipmentService
|
abstract class PartService extends EquipmentService
|
||||||
{
|
{
|
||||||
public function __construct()
|
protected function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->addClassName('Part');
|
$this->addClassName('Part');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user