Skip to content

Commit a55ed78

Browse files
committed
Add basic information about command
1 parent 29db538 commit a55ed78

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,12 @@ myModule.controller('ChildCtrl', function ($scope) {
824824

825825
The different handlers from the UML diagram above are the different scopes, injected to the controllers.
826826

827+
#### Command
828+
829+
>In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later time. This information includes the method name, the object that owns the method and values for the method parameters.
830+
831+
![Command](./images/command.png "Fig. 11")
832+
827833
### Controllers
828834

829835
#### Page Controller

images/command.png

3.9 KB
Loading

0 commit comments

Comments
 (0)