├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src ├── Annotations │ ├── Annotation.php │ ├── Policy │ │ ├── Auto.php │ │ ├── From │ │ │ ├── Auto.php │ │ │ ├── Custom.php │ │ │ ├── DenyNew.php │ │ │ ├── DenyNewUnset.php │ │ │ ├── DenyNewUpdate.php │ │ │ ├── DenyUnset.php │ │ │ ├── DenyUnsetUpdate.php │ │ │ ├── DenyUpdate.php │ │ │ └── Skip.php │ │ ├── Interfaces │ │ │ ├── Auto.php │ │ │ ├── AutoFrom.php │ │ │ ├── AutoTo.php │ │ │ ├── CustomFrom.php │ │ │ ├── CustomTo.php │ │ │ ├── DenyFrom.php │ │ │ ├── DenyNewFrom.php │ │ │ ├── DenyUnsetFrom.php │ │ │ ├── DenyUpdateFrom.php │ │ │ ├── FetchPaginateTo.php │ │ │ ├── FormatDateTimeTo.php │ │ │ ├── KeepDateTimeTo.php │ │ │ ├── Policy.php │ │ │ ├── PolicyFrom.php │ │ │ ├── PolicyTo.php │ │ │ ├── Skip.php │ │ │ ├── SkipFrom.php │ │ │ ├── SkipTo.php │ │ │ └── readme.md │ │ ├── Skip.php │ │ └── To │ │ │ ├── Auto.php │ │ │ ├── Custom.php │ │ │ ├── FetchPaginate.php │ │ │ ├── FormatDateTime.php │ │ │ ├── KeepDateTime.php │ │ │ └── Skip.php │ ├── PolicyResolver.php │ └── PolicyResolverProfiler.php ├── Exceptions │ ├── Exception.php │ ├── FromArrayException.php │ └── PolicyException.php ├── ITransformable.php └── Traits │ └── Transformable.php └── tests ├── Entity ├── Relations.php ├── Scalar.php └── Simple.php ├── Mocks ├── ConnectionMock.php ├── DatabasePlatformMock.php ├── DriverConnectionMock.php ├── DriverMock.php ├── EntityManagerMock.php ├── SchemaManagerMock.php └── StatementMock.php ├── Transformable ├── FromPolicyRelationsCollectionTest.php ├── FromPolicyRelationsTest.php ├── FromPolicyScalarTest.php ├── FromSimpleTest.php ├── ToPolicyRelationsTest.php ├── ToPolicyScalarTest.php └── ToSimpleTest.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Annotations/Annotation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Annotation.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Auto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Auto.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/Auto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/Auto.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/Custom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/Custom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/DenyNew.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/DenyNew.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/DenyNewUnset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/DenyNewUnset.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/DenyNewUpdate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/DenyNewUpdate.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/DenyUnset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/DenyUnset.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/DenyUnsetUpdate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/DenyUnsetUpdate.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/DenyUpdate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/DenyUpdate.php -------------------------------------------------------------------------------- /src/Annotations/Policy/From/Skip.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/From/Skip.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/Auto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/Auto.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/AutoFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/AutoFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/AutoTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/AutoTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/CustomFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/CustomFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/CustomTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/CustomTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/DenyFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/DenyFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/DenyNewFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/DenyNewFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/DenyUnsetFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/DenyUnsetFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/DenyUpdateFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/DenyUpdateFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/FetchPaginateTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/FetchPaginateTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/FormatDateTimeTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/FormatDateTimeTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/KeepDateTimeTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/KeepDateTimeTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/Policy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/Policy.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/PolicyFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/PolicyFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/PolicyTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/PolicyTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/Skip.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/Skip.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/SkipFrom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/SkipFrom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/SkipTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/SkipTo.php -------------------------------------------------------------------------------- /src/Annotations/Policy/Interfaces/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Interfaces/readme.md -------------------------------------------------------------------------------- /src/Annotations/Policy/Skip.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/Skip.php -------------------------------------------------------------------------------- /src/Annotations/Policy/To/Auto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/To/Auto.php -------------------------------------------------------------------------------- /src/Annotations/Policy/To/Custom.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/To/Custom.php -------------------------------------------------------------------------------- /src/Annotations/Policy/To/FetchPaginate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/To/FetchPaginate.php -------------------------------------------------------------------------------- /src/Annotations/Policy/To/FormatDateTime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/To/FormatDateTime.php -------------------------------------------------------------------------------- /src/Annotations/Policy/To/KeepDateTime.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/To/KeepDateTime.php -------------------------------------------------------------------------------- /src/Annotations/Policy/To/Skip.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/Policy/To/Skip.php -------------------------------------------------------------------------------- /src/Annotations/PolicyResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/PolicyResolver.php -------------------------------------------------------------------------------- /src/Annotations/PolicyResolverProfiler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Annotations/PolicyResolverProfiler.php -------------------------------------------------------------------------------- /src/Exceptions/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Exceptions/Exception.php -------------------------------------------------------------------------------- /src/Exceptions/FromArrayException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Exceptions/FromArrayException.php -------------------------------------------------------------------------------- /src/Exceptions/PolicyException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Exceptions/PolicyException.php -------------------------------------------------------------------------------- /src/ITransformable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/ITransformable.php -------------------------------------------------------------------------------- /src/Traits/Transformable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/src/Traits/Transformable.php -------------------------------------------------------------------------------- /tests/Entity/Relations.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Entity/Relations.php -------------------------------------------------------------------------------- /tests/Entity/Scalar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Entity/Scalar.php -------------------------------------------------------------------------------- /tests/Entity/Simple.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Entity/Simple.php -------------------------------------------------------------------------------- /tests/Mocks/ConnectionMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/ConnectionMock.php -------------------------------------------------------------------------------- /tests/Mocks/DatabasePlatformMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/DatabasePlatformMock.php -------------------------------------------------------------------------------- /tests/Mocks/DriverConnectionMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/DriverConnectionMock.php -------------------------------------------------------------------------------- /tests/Mocks/DriverMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/DriverMock.php -------------------------------------------------------------------------------- /tests/Mocks/EntityManagerMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/EntityManagerMock.php -------------------------------------------------------------------------------- /tests/Mocks/SchemaManagerMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/SchemaManagerMock.php -------------------------------------------------------------------------------- /tests/Mocks/StatementMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Mocks/StatementMock.php -------------------------------------------------------------------------------- /tests/Transformable/FromPolicyRelationsCollectionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/FromPolicyRelationsCollectionTest.php -------------------------------------------------------------------------------- /tests/Transformable/FromPolicyRelationsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/FromPolicyRelationsTest.php -------------------------------------------------------------------------------- /tests/Transformable/FromPolicyScalarTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/FromPolicyScalarTest.php -------------------------------------------------------------------------------- /tests/Transformable/FromSimpleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/FromSimpleTest.php -------------------------------------------------------------------------------- /tests/Transformable/ToPolicyRelationsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/ToPolicyRelationsTest.php -------------------------------------------------------------------------------- /tests/Transformable/ToPolicyScalarTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/ToPolicyScalarTest.php -------------------------------------------------------------------------------- /tests/Transformable/ToSimpleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/Transformable/ToSimpleTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Indaxia/doctrine-orm-transformations/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------