1<?php
2/**
3 * Zend Framework (http://framework.zend.com/)
4 *
5 * @link      http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license   http://framework.zend.com/license/new-bsd New BSD License
8 */
9
10namespace Zend\View\Helper;
11
12/**
13 * Helper for escaping values
14 */
15class EscapeHtmlAttr extends Escaper\AbstractHelper
16{
17    /**
18     * Escape a value for current escaping strategy
19     *
20     * @param  string $value
21     * @return string
22     */
23    protected function escape($value)
24    {
25        return $this->getEscaper()->escapeHtmlAttr($value);
26    }
27}
28