Расширение php-intl загружается , так как я могу использовать IntlDateFormatter :: SHORT в сценарии просмотра без проблем.Почему IntlDateFormatter не найден?
бит в моем ViewHelper
<?php
namespace Common\View\Helper;
use Zend\View\Helper\AbstractHelper;
class DateFormat extends AbstractHelper {
public function __invoke($dateField) {
$dateFormatter=$this->getView()->plugin('dateformat');
return $dateFormatter(strtotime($dateField), IntlDateFormatter::SHORT);
}
}
?>
Я получаю ошибку
Fatal error: Class 'Common\View\Helper\IntlDateFormatter' not found in C:\TEMP\zf2ad\client\module\Common\src\Common\View\Helper\DateFormat.php on line 12
Пожалуйста посоветуйте
Ефрема