mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-03 13:37:27 +02:00
first, the todos for fixing the pattern
This commit is contained in:
@@ -21,6 +21,10 @@ interface DatabaseAdapter
|
||||
|
||||
class MySQL implements DatabaseAdapter
|
||||
{
|
||||
/**
|
||||
* The Adapter need to wrap the Adaptee in the constructor
|
||||
* much like Decorator does. Nothing is adapted here...
|
||||
*/
|
||||
public function getTables()
|
||||
{
|
||||
return $this->select('SHOW TABLES');
|
||||
|
Reference in New Issue
Block a user