1 | <?php |
||
7 | class ModernConnection implements Connection |
||
8 | { |
||
9 | |||
10 | protected $application; |
||
11 | |||
12 | /** |
||
13 | * Connect to modern concrete5 |
||
14 | * @param \Concrete\Core\Application\Application $application |
||
15 | */ |
||
16 | public function connect(Application $application) |
||
20 | |||
21 | /** |
||
22 | * Determine if this connection is connected |
||
23 | * @return mixed |
||
24 | */ |
||
25 | public function isConnected() |
||
29 | |||
30 | /** |
||
31 | * Disconnect a connection |
||
32 | * @return bool Success or failure |
||
33 | */ |
||
34 | public function disconnect() |
||
43 | |||
44 | /** |
||
45 | * @return Application |
||
46 | */ |
||
47 | public function getApplication() |
||
51 | } |
||
52 |