3 * @link http://github.com/zendframework/zend-form for the canonical source repository
4 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
5 * @license http://framework.zend.com/license/new-bsd New BSD License
8 use Zend\Form\FormElementManager
;
9 use Zend\ServiceManager\ServiceManager
;
11 call_user_func(function () {
12 $target = method_exists(ServiceManager
::class, 'configure')
13 ? FormElementManager\FormElementManagerV3Polyfill
::class
14 : FormElementManager\FormElementManagerV2Polyfill
::class;
16 class_alias($target, FormElementManager
::class);