├── .gitignore ├── .versionrc ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── autoload.php ├── bin └── canDeploy.sh ├── composer.json ├── examples ├── Application.php ├── ApplicationController.php ├── ApplicationProcessor.php ├── PhpLeagueEvent │ ├── Attribute │ │ └── SubscribeTo.php │ ├── Controller │ │ └── DomainWithEventsController.php │ ├── Event │ │ ├── HandleInputEvent.php │ │ ├── HandleOutputEvent.php │ │ └── InitApplicationEvent.php │ ├── EventAttributePresenter.php │ ├── EventDispatcherApplicationProcessor.php │ ├── README.md │ └── bootstrap.php ├── README.md └── WarmUpAttributes │ ├── README.md │ └── bootstrap.php ├── phpunit.integration.xml ├── phpunit.unit.xml ├── src ├── AttributeHandler.php ├── ComposerClassLoaderDecorator.php ├── LoaderHandler.php ├── PhpAttributesFactory.php ├── Presenter │ ├── AttributePresenterInterface.php │ ├── ChainedAttributePresenter.php │ ├── NullAttributePresenter.php │ └── TypeGuardAttributePresenterInterfaceDecorator.php └── Resolver │ ├── AttributeDto.php │ ├── AttributeDtoMapper.php │ ├── AttributeResolver.php │ ├── AttributeResolverInterface.php │ ├── ChainedAttributeResolver.php │ ├── FilterClassAttributeResolverDecorator.php │ └── ResolvedAttributeDto.php └── tests ├── Integration └── PhpAttributesTest.php ├── TestAttributeStub.php ├── TestStub.php ├── TestStubInterface.php ├── Unit ├── Presenter │ ├── ChainedAttributePresenterTest.php │ └── TypeGuardAttributePresenterDecoratorTest.php └── Resolver │ ├── AttributeDtoMapperTest.php │ ├── AttributeResolverTest.php │ ├── ChainedAttributeResolverTest.php │ └── FilterClassAttributeResolverDecoratorTest.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | .idea 3 | composer.lock 4 | .phpunit.result.cache 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /.versionrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/.versionrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/README.md -------------------------------------------------------------------------------- /autoload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/autoload.php -------------------------------------------------------------------------------- /bin/canDeploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/bin/canDeploy.sh -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/composer.json -------------------------------------------------------------------------------- /examples/Application.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/Application.php -------------------------------------------------------------------------------- /examples/ApplicationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/ApplicationController.php -------------------------------------------------------------------------------- /examples/ApplicationProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/ApplicationProcessor.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/Attribute/SubscribeTo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/Attribute/SubscribeTo.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/Controller/DomainWithEventsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/Controller/DomainWithEventsController.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/Event/HandleInputEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/Event/HandleInputEvent.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/Event/HandleOutputEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/Event/HandleOutputEvent.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/Event/InitApplicationEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/Event/InitApplicationEvent.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/EventAttributePresenter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/EventAttributePresenter.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/EventDispatcherApplicationProcessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/EventDispatcherApplicationProcessor.php -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/README.md -------------------------------------------------------------------------------- /examples/PhpLeagueEvent/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/PhpLeagueEvent/bootstrap.php -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/WarmUpAttributes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/WarmUpAttributes/README.md -------------------------------------------------------------------------------- /examples/WarmUpAttributes/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/examples/WarmUpAttributes/bootstrap.php -------------------------------------------------------------------------------- /phpunit.integration.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/phpunit.integration.xml -------------------------------------------------------------------------------- /phpunit.unit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/phpunit.unit.xml -------------------------------------------------------------------------------- /src/AttributeHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/AttributeHandler.php -------------------------------------------------------------------------------- /src/ComposerClassLoaderDecorator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/ComposerClassLoaderDecorator.php -------------------------------------------------------------------------------- /src/LoaderHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/LoaderHandler.php -------------------------------------------------------------------------------- /src/PhpAttributesFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/PhpAttributesFactory.php -------------------------------------------------------------------------------- /src/Presenter/AttributePresenterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Presenter/AttributePresenterInterface.php -------------------------------------------------------------------------------- /src/Presenter/ChainedAttributePresenter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Presenter/ChainedAttributePresenter.php -------------------------------------------------------------------------------- /src/Presenter/NullAttributePresenter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Presenter/NullAttributePresenter.php -------------------------------------------------------------------------------- /src/Presenter/TypeGuardAttributePresenterInterfaceDecorator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Presenter/TypeGuardAttributePresenterInterfaceDecorator.php -------------------------------------------------------------------------------- /src/Resolver/AttributeDto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/AttributeDto.php -------------------------------------------------------------------------------- /src/Resolver/AttributeDtoMapper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/AttributeDtoMapper.php -------------------------------------------------------------------------------- /src/Resolver/AttributeResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/AttributeResolver.php -------------------------------------------------------------------------------- /src/Resolver/AttributeResolverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/AttributeResolverInterface.php -------------------------------------------------------------------------------- /src/Resolver/ChainedAttributeResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/ChainedAttributeResolver.php -------------------------------------------------------------------------------- /src/Resolver/FilterClassAttributeResolverDecorator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/FilterClassAttributeResolverDecorator.php -------------------------------------------------------------------------------- /src/Resolver/ResolvedAttributeDto.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/src/Resolver/ResolvedAttributeDto.php -------------------------------------------------------------------------------- /tests/Integration/PhpAttributesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Integration/PhpAttributesTest.php -------------------------------------------------------------------------------- /tests/TestAttributeStub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/TestAttributeStub.php -------------------------------------------------------------------------------- /tests/TestStub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/TestStub.php -------------------------------------------------------------------------------- /tests/TestStubInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/TestStubInterface.php -------------------------------------------------------------------------------- /tests/Unit/Presenter/ChainedAttributePresenterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Unit/Presenter/ChainedAttributePresenterTest.php -------------------------------------------------------------------------------- /tests/Unit/Presenter/TypeGuardAttributePresenterDecoratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Unit/Presenter/TypeGuardAttributePresenterDecoratorTest.php -------------------------------------------------------------------------------- /tests/Unit/Resolver/AttributeDtoMapperTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Unit/Resolver/AttributeDtoMapperTest.php -------------------------------------------------------------------------------- /tests/Unit/Resolver/AttributeResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Unit/Resolver/AttributeResolverTest.php -------------------------------------------------------------------------------- /tests/Unit/Resolver/ChainedAttributeResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Unit/Resolver/ChainedAttributeResolverTest.php -------------------------------------------------------------------------------- /tests/Unit/Resolver/FilterClassAttributeResolverDecoratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/Unit/Resolver/FilterClassAttributeResolverDecoratorTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mbunge/php-attributes/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------