This repository was archived by the owner on Sep 8, 2020. It is now read-only.
Releases: rkeet/zf-doctrine-mvc
Releases · rkeet/zf-doctrine-mvc
Updated as abandoned
Updated Doctrine ORM Module requirement
Updated Doctrine ORM Module requirement.
This module already adhered the requirements set forth in Doctrine ORM Module 2.1.x as they matched with 1.1.x. The biggest change is full on usage of > PHP 7.2, which this module also already did.
Doctrine Type UtcDateTimeType class added
Added class UtcDateTimeType
and dist config to make it an option.
Class can be used to overwrite Doctrine DateTime Type class. This new class makes sure to always modify the DateTime object received to use the UTC DateTimeZone, thus making sure that all data stored in the DB has the UTC timezone.
- Store date & time in uniform timezone
- Config to enable provided in *.dist file in module
0.0.3 - Next iteration: MvcTranslator, PHP module requirements and some helpers
- AbstractEntity id property now unsigned integer, allowing for double the amount of auto-increment records
- Requiring
ext-intl
,ext-json
andext-gettext
PHP modules - Requiring
zendframework/zend-mvc-i18n
translator module - Changed the Translator to the MvcTranslator, integrating multiple translators at once, see docs. Setup MvcTranslator to be default translator and it's made availabe as Controller plugin
- Added
EntityManager
toAbstractDoctrineActionController
property, constructor and getter/setter for theObjectManager
. This is the most commonly used EntityManager and having it set in the annotation helps IDE's show correct hints. - Added
InvokableEntityManagerFactory
, usable in same way as ZF3InvokableFactory
, only immediately settingObjectManager
, leaving theoptions
property as optional second parameter
Release 0.0.2
- Allows
getId
of AbstractEntity to returnnull
- EntityManager will call all getters on object creation, not allowing this causes a fatal error - Updated AbstractModule.php to assume Module.php is within
src/
folders of modules, per ZF3 standards - Applied code styling and import optimization across module