__invoke() __invoke(\DateTimeInterface $datetime, string $format = 'medium') Render a DateTime object as a formated string. Parameters \DateTimeInterface $datetime string $format
createService() createService(\Zend\ServiceManager\ServiceLocatorInterface $serviceLocator) Create and configure instance Parameters \Zend\ServiceManager\ServiceLocatorInterface $serviceLocator
setFormat() setFormat(string $name, string $format) Set a datetime format Parameters string $name string $format
getFormat() getFormat(string $name) : string Get a datetime format Parameters string $name Returns string