Permalink
Browse files

Correcting post headers

  • Loading branch information...
kinncj committed May 8, 2012
1 parent 48f1861 commit 08382e0286fd10dccdb7af04a366244800e1ef55
Showing with 4 additions and 4 deletions.
  1. +4 −4 _posts/2012-05-08-understanding-decorator-design-pattern-with-php.markdown
@@ -39,7 +39,7 @@ The Decorator can help us do just that, he will add responsibility receiveFounds
###Account.php
{% highlight php %}
-< ?php
+<?php
class Account extends Decorator{
public $numAccount;
@@ -74,7 +74,7 @@ The Decorator can help us do just that, he will add responsibility receiveFounds
###SavingsAccount.php
{% highlight php %}
-< ?php
+<?php
class SavingsAccount extends Decorator{
public function receiveTransferredFounds( Acount $numPayAccount , $numAcount , $transferValue ) {
@@ -91,7 +91,7 @@ The Decorator can help us do just that, he will add responsibility receiveFounds
###Decorator.php
{% highlight php %}
-< ?php
+<?php
class Decorator{
private $DGS_VERIFY_SAVINGS_ACCOUNT = 500;
@@ -123,7 +123,7 @@ The Decorator can help us do just that, he will add responsibility receiveFounds
###Implementation
{% highlight php %}
-< ?php
+<?php
require_once("Decorator.php");
require_once("Account.php");
require_once("SavingsAccount.php");

0 comments on commit 08382e0

Please sign in to comment.