Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / InputFilter / InputFilterAwareTrait.php
blob94c9d4c77d47fe02c566622fa6a4172ff641d05f
1 <?php
2 /**
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
8 */
10 namespace Zend\InputFilter;
12 use Zend\InputFilter\InputFilterInterface;
14 trait InputFilterAwareTrait
16 /**
17 * @var InputFilterInterface
19 protected $inputFilter = null;
21 /**
22 * Set input filter
24 * @param InputFilterInterface $inputFilter
25 * @return mixed
27 public function setInputFilter(InputFilterInterface $inputFilter)
29 $this->inputFilter = $inputFilter;
31 return $this;
34 /**
35 * Retrieve input filter
37 * @return InputFilterInterface
39 public function getInputFilter()
41 return $this->inputFilter;