Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correcting post headers

  • Loading branch information...
commit 08382e0286fd10dccdb7af04a366244800e1ef55 1 parent 48f1861
@kinncj kinncj authored
View
8 _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");
Please sign in to comment.
Something went wrong with that request. Please try again.