Repository::getConnection
This commit is contained in:
@ -24,6 +24,11 @@ abstract class Repository implements Define\Repository
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getConnection(): Define\Connection
|
||||||
|
{
|
||||||
|
return $this->connection;
|
||||||
|
}
|
||||||
|
|
||||||
public function load(array $data_row): Define\Model
|
public function load(array $data_row): Define\Model
|
||||||
{
|
{
|
||||||
$model = $this->create($data_row);
|
$model = $this->create($data_row);
|
||||||
|
Reference in New Issue
Block a user