dhii / action-interface
Interfaces for runnable actions.
Installs: 44
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/dhii/action-interface
Requires
- php: ^5.3 | ^7.0
- dhii/exception-interface: ^0.2-alpha3
- dhii/factory-interface: ^0.1-alpha2
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: dev-php-5.3
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2025-10-07 06:41:22 UTC
README
Details
Interfaces for runnable actions.
Interfaces
ActionInterface
- Something that can be run.ActionAwareInterface
- Something that is aware of an action.ActionFactoryInterface
- Something that can make an action.ActionFactoryAwareInterface
- Something is aware of an action factory.ActionExceptionInterface
- An exception related to actions.ActionAwareExceptionInterface
- An exception that relates to a specific action.CouldNotRunExceptionInterface
- An exception that occurs when an action cannot be run.
Example
use Dhii\Action\ActionInterface; /** @var ActionInterface $action */ $action->run(); // Does something