Skip to content

Commit

Permalink
Mark _retrieve() and _store() as abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 9, 2015
1 parent 4accabd commit 1b13649
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions ingo/lib/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ public function retrieve($field, $readonly = false)
*
* @return Ingo_Storage_Rule The specified data.
*/
protected function _retrieve($field, $readonly = false)
{
return false;
}
protected abstract function _retrieve($field, $readonly = false);

/**
* Stores the specified data.
Expand Down Expand Up @@ -175,9 +172,7 @@ public function store($ob)
*
* @param Ingo_Storage_Rule $ob The object to store.
*/
protected function _store($ob)
{
}
protected abstract function _store($ob);

/**
* Returns information on a given action constant.
Expand Down

0 comments on commit 1b13649

Please sign in to comment.