├── .editorconfig ├── .gitignore ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── composer.json ├── docker-compose.yml ├── docs ├── README.md ├── coverpage.md └── index.html ├── phpunit.xml.dist ├── src ├── Collection.php ├── CollectionConfiguration.php ├── CollectionResolver.php ├── Concerns │ ├── HasCollection.php │ ├── HasCollectionResolver.php │ ├── HasConvenientWrites.php │ ├── HasEvents.php │ ├── HasId.php │ └── HasRelationships.php ├── Connection.php ├── Cursor.php ├── Document.php ├── Document │ ├── ArrayAccess.php │ ├── ArrayIterator.php │ ├── CamelCaseAccessor.php │ ├── MongoAccess.php │ └── Serializers │ │ ├── JsonSerializer.php │ │ └── NativeSerializer.php ├── EventDispatcher.php ├── Exceptions │ ├── Exception.php │ ├── InvalidArgumentException.php │ └── LogicException.php ├── Relations │ ├── AbstractRelation.php │ ├── BindMany.php │ └── BindOne.php └── Support │ ├── Embed.php │ └── Transform.php └── tests ├── Mocks ├── CollectionResolverMock.php └── EventDispatcherMock.php ├── Stubs ├── AddressDocument.php ├── AddressesCollection.php ├── CitiesCollection.php ├── CityTransformer.php ├── Events │ ├── DocumentCreated.php │ ├── DocumentCreating.php │ ├── DocumentDeleted.php │ ├── DocumentDeleting.php │ ├── DocumentSaved.php │ ├── DocumentSaving.php │ ├── DocumentUpdated.php │ └── DocumentUpdating.php ├── TokensCollection.php ├── UserDocument.php └── UsersCollection.php ├── Support ├── SetupCollectionConfigurationTest.php ├── SetupCollectionTest.php ├── SetupDatabase.php ├── SetupEventsTest.php ├── SetupRelationsTest.php └── SetupTestsHooks.php └── Tests ├── CollectionConfigurationTest.php ├── CollectionResolverTest.php ├── CollectionTest.php ├── CursorTest.php ├── DocumentTest.php ├── EmbedTest.php ├── EventsTest.php ├── RelationsTest.php └── TransformTest.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/composer.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/coverpage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/docs/coverpage.md -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/docs/index.html -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Collection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Collection.php -------------------------------------------------------------------------------- /src/CollectionConfiguration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/CollectionConfiguration.php -------------------------------------------------------------------------------- /src/CollectionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/CollectionResolver.php -------------------------------------------------------------------------------- /src/Concerns/HasCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Concerns/HasCollection.php -------------------------------------------------------------------------------- /src/Concerns/HasCollectionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Concerns/HasCollectionResolver.php -------------------------------------------------------------------------------- /src/Concerns/HasConvenientWrites.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Concerns/HasConvenientWrites.php -------------------------------------------------------------------------------- /src/Concerns/HasEvents.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Concerns/HasEvents.php -------------------------------------------------------------------------------- /src/Concerns/HasId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Concerns/HasId.php -------------------------------------------------------------------------------- /src/Concerns/HasRelationships.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Concerns/HasRelationships.php -------------------------------------------------------------------------------- /src/Connection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Connection.php -------------------------------------------------------------------------------- /src/Cursor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Cursor.php -------------------------------------------------------------------------------- /src/Document.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document.php -------------------------------------------------------------------------------- /src/Document/ArrayAccess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document/ArrayAccess.php -------------------------------------------------------------------------------- /src/Document/ArrayIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document/ArrayIterator.php -------------------------------------------------------------------------------- /src/Document/CamelCaseAccessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document/CamelCaseAccessor.php -------------------------------------------------------------------------------- /src/Document/MongoAccess.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document/MongoAccess.php -------------------------------------------------------------------------------- /src/Document/Serializers/JsonSerializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document/Serializers/JsonSerializer.php -------------------------------------------------------------------------------- /src/Document/Serializers/NativeSerializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Document/Serializers/NativeSerializer.php -------------------------------------------------------------------------------- /src/EventDispatcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/EventDispatcher.php -------------------------------------------------------------------------------- /src/Exceptions/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Exceptions/Exception.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Exceptions/InvalidArgumentException.php -------------------------------------------------------------------------------- /src/Exceptions/LogicException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Exceptions/LogicException.php -------------------------------------------------------------------------------- /src/Relations/AbstractRelation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Relations/AbstractRelation.php -------------------------------------------------------------------------------- /src/Relations/BindMany.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Relations/BindMany.php -------------------------------------------------------------------------------- /src/Relations/BindOne.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Relations/BindOne.php -------------------------------------------------------------------------------- /src/Support/Embed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Support/Embed.php -------------------------------------------------------------------------------- /src/Support/Transform.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/src/Support/Transform.php -------------------------------------------------------------------------------- /tests/Mocks/CollectionResolverMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/tests/Mocks/CollectionResolverMock.php -------------------------------------------------------------------------------- /tests/Mocks/EventDispatcherMock.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/tests/Mocks/EventDispatcherMock.php -------------------------------------------------------------------------------- /tests/Stubs/AddressDocument.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/tests/Stubs/AddressDocument.php -------------------------------------------------------------------------------- /tests/Stubs/AddressesCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/tests/Stubs/AddressesCollection.php -------------------------------------------------------------------------------- /tests/Stubs/CitiesCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/tests/Stubs/CitiesCollection.php -------------------------------------------------------------------------------- /tests/Stubs/CityTransformer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abellion/xenus/HEAD/tests/Stubs/CityTransformer.php -------------------------------------------------------------------------------- /tests/Stubs/Events/DocumentCreated.php: -------------------------------------------------------------------------------- 1 |