Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
[zen-27] Renamed interfaces in Zend\Markup
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed May 10, 2012
1 parent dfa0675 commit b2d3142
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/ZendMarkup/TestAsset/Parser/MockParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class MockParser implements Parser
class MockParser implements Parser\ParserInterface
{

public function __construct($options = array())
Expand Down
13 changes: 12 additions & 1 deletion tests/ZendMarkup/TestAsset/Renderer/Html/Bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Bar implements \Zend\Markup\Renderer\Markup
class Bar implements \Zend\Markup\Renderer\Markup\MarkupInterface
{
public function setEncoding($encoding = 'UTF-8')
{
Expand Down Expand Up @@ -61,4 +61,15 @@ public function __invoke(\Zend\Markup\Token $token, $text)
return "[foo{$bar}]" . $text . '[/foo]';
}

/**
* Returns the result of filtering $value
*
* @param mixed $value
* @throws Zend\Filter\Exception\RuntimeException If filtering $value is impossible
* @return mixed
*/
public function filter($value)
{
// TODO: Implement filter() method.
}
}

0 comments on commit b2d3142

Please sign in to comment.