Skip to content

Commit

Permalink
Merge pull request #3 from prolic/cache
Browse files Browse the repository at this point in the history
Zend\Cache
  • Loading branch information
marc-mabe committed Dec 11, 2011
2 parents 4a5e1eb + c53e141 commit dabe8e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion library/Zend/Cache/Storage/Plugin/ClearByFactor.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ public function __construct($options = array())
* Set options
*
* @param array|\Traversable $options
* @return void
* @return ClearByFactor
*/
public function setOptions($options)
{
foreach ($options as $name => $value) {
$m = 'set' . str_replace('_', '', $name);
$this->$m($value);
}
return $this;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion library/Zend/Cache/Storage/Plugin/ExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ public function __construct($options = array())
* Set options
*
* @param array|\Traversable $options
* @return void
* @return ExceptionHandler
*/
public function setOptions($options)
{
foreach ($options as $name => $value) {
$m = 'set' . str_replace('_', '', $name);
$this->$m($value);
}
return $this;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion library/Zend/Cache/Storage/Plugin/OptimizeByFactor.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ public function __construct($options = array())
* Set options
*
* @param array|\Traversable $options
* @return void
* @return OptimizeByFactor
*/
public function setOptions($options)
{
foreach ($options as $name => $value) {
$m = 'set' . str_replace('_', '', $name);
$this->$m($value);
}
return $this;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion library/Zend/Cache/Storage/Plugin/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ public function __construct($options = array())
* Set options
*
* @param array|\Traversable $options
* @return void
* @return Serializer
*/
public function setOptions($options)
{
foreach ($options as $name => $value) {
$m = 'set' . $name;
$this->$m($value);
}
return $this;
}

/**
Expand Down

0 comments on commit dabe8e9

Please sign in to comment.