* @copyright 2012-2013 Jurian Sluiman. * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @link http://juriansluiman.nl */ namespace SlmLocale\Service; use Interop\Container\ContainerInterface; use Laminas\ServiceManager\Factory\FactoryInterface; use Locale; use SlmLocale\View\Helper\PrimaryLanguage; final class PrimaryLanguageHelperFactory implements FactoryInterface { /** * @param ContainerInterface $container * @param string $requestedName * @param array|null $options * @return object|PrimaryLanguage */ public function __invoke(ContainerInterface $container, $requestedName, array $options = null) { return new PrimaryLanguage(new Locale()); } }