mirror of
https://github.com/kevinveenbirkenbach/coding-challenge-online-shop.git
synced 2025-11-21 11:06:24 +00:00
Implemented product monking data
This commit is contained in:
20
src/repository/AbstractRepository.php
Normal file
20
src/repository/AbstractRepository.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace repository;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
abstract class AbstractRepository
|
||||
{
|
||||
/**
|
||||
* @var \PDO
|
||||
*/
|
||||
protected $database;
|
||||
|
||||
public function __construct(\PDO $database){
|
||||
$this->database = $database;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user