├── .github └── workflows │ └── phpunit.yml ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src ├── ApiPlatformTranslationBundle.php ├── DependencyInjection │ └── ApiPlatformTranslationExtension.php ├── EventListener │ └── AssignLocaleListener.php ├── Model │ ├── AbstractTranslatable.php │ ├── AbstractTranslation.php │ ├── TranslatableInterface.php │ ├── TranslatableTrait.php │ └── TranslationInterface.php ├── Resources │ └── config │ │ └── services.yml └── Translation │ └── Translator.php └── tests ├── ApiPlatformTranslationBundleTest.php ├── EventListener └── AssignLocaleListenerTest.php ├── Fixtures ├── DummyNotTranslatable.php ├── DummyTranslatable.php └── DummyTranslation.php ├── Model ├── AbstractTranslationTest.php └── TranslatableTraitTest.php └── Translation └── TranslatorTest.php /.github/workflows/phpunit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/.github/workflows/phpunit.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/ApiPlatformTranslationBundle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/ApiPlatformTranslationBundle.php -------------------------------------------------------------------------------- /src/DependencyInjection/ApiPlatformTranslationExtension.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/DependencyInjection/ApiPlatformTranslationExtension.php -------------------------------------------------------------------------------- /src/EventListener/AssignLocaleListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/EventListener/AssignLocaleListener.php -------------------------------------------------------------------------------- /src/Model/AbstractTranslatable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Model/AbstractTranslatable.php -------------------------------------------------------------------------------- /src/Model/AbstractTranslation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Model/AbstractTranslation.php -------------------------------------------------------------------------------- /src/Model/TranslatableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Model/TranslatableInterface.php -------------------------------------------------------------------------------- /src/Model/TranslatableTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Model/TranslatableTrait.php -------------------------------------------------------------------------------- /src/Model/TranslationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Model/TranslationInterface.php -------------------------------------------------------------------------------- /src/Resources/config/services.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Resources/config/services.yml -------------------------------------------------------------------------------- /src/Translation/Translator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/src/Translation/Translator.php -------------------------------------------------------------------------------- /tests/ApiPlatformTranslationBundleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/ApiPlatformTranslationBundleTest.php -------------------------------------------------------------------------------- /tests/EventListener/AssignLocaleListenerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/EventListener/AssignLocaleListenerTest.php -------------------------------------------------------------------------------- /tests/Fixtures/DummyNotTranslatable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/Fixtures/DummyNotTranslatable.php -------------------------------------------------------------------------------- /tests/Fixtures/DummyTranslatable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/Fixtures/DummyTranslatable.php -------------------------------------------------------------------------------- /tests/Fixtures/DummyTranslation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/Fixtures/DummyTranslation.php -------------------------------------------------------------------------------- /tests/Model/AbstractTranslationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/Model/AbstractTranslationTest.php -------------------------------------------------------------------------------- /tests/Model/TranslatableTraitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/Model/TranslatableTraitTest.php -------------------------------------------------------------------------------- /tests/Translation/TranslatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Locastic/ApiPlatformTranslationBundle/HEAD/tests/Translation/TranslatorTest.php --------------------------------------------------------------------------------