dhii / action-interface
可执行操作的接口。
dev-develop / 0.1.x-dev
2018-05-25 14:18 UTC
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: 2024-09-07 03:57:58 UTC
README
详情
可执行操作的接口。
接口
ActionInterface
- 可执行的对象。ActionAwareInterface
- 了解操作的对象。ActionFactoryInterface
- 可以创建操作的对象。ActionFactoryAwareInterface
- 了解操作工厂的对象。ActionExceptionInterface
- 与操作相关的异常。ActionAwareExceptionInterface
- 与特定操作相关的异常。CouldNotRunExceptionInterface
- 当操作无法运行时发生的异常。
示例
use Dhii\Action\ActionInterface; /** @var ActionInterface $action */ $action->run(); // Does something