Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
[zendframework/zendframework#1713] Fix failing tests in Compress filter
Browse files Browse the repository at this point in the history
- Due to addition of getOptions() to AbstractFilter, Compress filter no longer
  was proxying to the underlying adapter. Added an override getOptions() method
  that now explicitly proxies to the adapter.
  • Loading branch information
weierophinney committed Jul 3, 2012
1 parent 60465af commit 8cc5d58
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Compress.php
Expand Up @@ -175,6 +175,18 @@ public function setAdapterOptions(array $options)
return $this;
}

/**
* Get individual or all options from underlying adapter
*
* @param null|string $option
* @return mixed
*/
public function getOptions($option = null)
{
$adapter = $this->getAdapter();
return $adapter->getOptions($option);
}

/**
* Calls adapter methods
*
Expand Down

0 comments on commit 8cc5d58

Please sign in to comment.