PHPackages                             skobka/command-pattern - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. skobka/command-pattern

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

skobka/command-pattern
======================

The usefull set of interface to interact with command design pattern

06PHP

Since Aug 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Doka-NT/command-pattern)[ Packagist](https://packagist.org/packages/skobka/command-pattern)[ RSS](/packages/skobka-command-pattern/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Command Pattern
===================

[](#php-command-pattern)

[![Build Status](https://camo.githubusercontent.com/f4567b97b4e8d8f5427e02e9bbf645d3f81b344279b0db13782a68c525df295d/68747470733a2f2f7472617669732d63692e636f6d2f446f6b612d4e542f636f6d6d616e642d7061747465726e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Doka-NT/command-pattern)[![Maintainability](https://camo.githubusercontent.com/e69466e0cee76743ed38fc8467af79516a81125aaaeb29501daa8c1190718682/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30613334366438326365666239626561373238322f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Doka-NT/command-pattern/maintainability)[![codecov](https://camo.githubusercontent.com/9cd2a1af780fc4e5e9220f469c4c5e0045ae440d55157306b3e5a1d03c3790b9/68747470733a2f2f636f6465636f762e696f2f67682f446f6b612d4e542f636f6d6d616e642d7061747465726e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Doka-NT/command-pattern)

Here is set of interfaces and helper implementations for Command design pattern.

What's included
---------------

[](#whats-included)

- CommandInterface
- ResultInterface
- ParametrizedCommand
- ParametrizedResultedCommand

How to use
----------

[](#how-to-use)

Just make your class implements one of available interfaces:

```
