| 1 | <?php  | 
            ||
| 7 | trait DatabaseAwareTrait  | 
            ||
| 8 | { | 
            ||
| 9 | /**  | 
            ||
| 10 | * @var \Aura\Sql\ExtendedPdo  | 
            ||
| 11 | */  | 
            ||
| 12 | protected $db;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * @var \Aura\Sql\ExtendedPdo  | 
            ||
| 16 | */  | 
            ||
| 17 | protected $dbData;  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * Set the Database driver  | 
            ||
| 21 | *  | 
            ||
| 22 | * @param \Aura\Sql\ExtendedPdo $db  | 
            ||
| 23 | */  | 
            ||
| 24 | public function setDatabaseDriver(DBDriver $db)  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * Get the Database driver  | 
            ||
| 31 | *  | 
            ||
| 32 | * @return \Aura\Sql\ExtendedPdo  | 
            ||
| 33 | */  | 
            ||
| 34 | public function getDatabaseDriver()  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * Set the Database Data driver  | 
            ||
| 41 | *  | 
            ||
| 42 | * @param \Aura\Sql\ExtendedPdo $dbData  | 
            ||
| 43 | */  | 
            ||
| 44 | public function setDatabaseDataDriver(DBDriver $dbData)  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * Get the Database Data driver  | 
            ||
| 51 | *  | 
            ||
| 52 | * @return \Aura\Sql\ExtendedPdo  | 
            ||
| 53 | */  | 
            ||
| 54 | public function getDatabaseDataDriver()  | 
            ||
| 58 | }  | 
            ||
| 59 |