3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Ldap\Filter
;
13 * Zend\Ldap\Filter\StringFilter provides a simple custom string filter.
15 class StringFilter
extends AbstractFilter
25 * Creates a Zend\Ldap\Filter\StringFilter.
27 * @param string $filter
29 public function __construct($filter)
31 $this->filter
= $filter;
35 * Returns a string representation of the filter.
39 public function toString()
41 return '(' . $this->filter
. ')';