| 1 | <?php |
||
| 8 | class Concrete5 implements Client |
||
| 9 | { |
||
| 10 | protected $adapter; |
||
| 11 | |||
| 12 | 8 | public function __construct(Adapter $adapter) |
|
| 16 | |||
| 17 | /** |
||
| 18 | * Attempt to disconnect |
||
| 19 | * (This isn't going to be fully supported for awhile) |
||
| 20 | * |
||
| 21 | * @param \Buttress\ConcreteClient\Connection\Connection $connection |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | 6 | public function disconnect(Connection $connection) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Get a connection to a concrete5 site |
||
| 31 | * @param string $path The path to the site to connect to |
||
| 32 | * @return Connection |
||
| 33 | */ |
||
| 34 | 4 | public function connect($path) |
|
| 38 | } |
||
| 39 |