Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
Updated code to match blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
christeredvartsen committed Jul 1, 2011
1 parent 52ceb39 commit 9157163
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions params-handler/Cogo/Database.php
Expand Up @@ -9,4 +9,10 @@ abstract class Database {
setParams as private;
setParam as protected;
}

protected function someDatabaseRelatedMethod() {
// ...
}

abstract protected function someOtherDatabaseRelatedMethod();
}
4 changes: 3 additions & 1 deletion params-handler/Cogo/Database/MySQL.php
Expand Up @@ -3,5 +3,7 @@
use Cogo\Database;

class MySQL extends Database {

protected function someOtherDatabaseRelatedMethod() {
// ...
}
}
6 changes: 6 additions & 0 deletions params-handler/Cogo/Storage.php
Expand Up @@ -6,4 +6,10 @@ abstract class Storage {
* @see Cogo\ParamsHandler
*/
use ParamsHandler;

protected function someFilesystemRelatedMethod() {
// ...
}

abstract protected function someOtherFilesystemRelatedMethod();
}
4 changes: 3 additions & 1 deletion params-handler/Cogo/Storage/Filesystem.php
Expand Up @@ -3,5 +3,7 @@
use Cogo\Storage;

class Filesystem extends Storage {

protected function someOtherFilesystemRelatedMethod() {
// ...
}
}

0 comments on commit 9157163

Please sign in to comment.