it was created the More namespace and append its patterns

This commit is contained in:
Antonio Spinelli
2014-04-16 18:12:52 -03:00
parent fc3b6a1608
commit c1ca6b42e2
12 changed files with 114 additions and 111 deletions

View File

@@ -1,8 +1,8 @@
<?php
namespace DesignPatterns\Tests\Delegation;
namespace DesignPatterns\More\Delegation;
use DesignPatterns\Delegation;
use DesignPatterns\More\Delegation;
/**
* DelegationTest tests the delegation pattern

View File

@@ -1,6 +1,6 @@
<?php
namespace DesignPatterns\Delegation;
namespace DesignPatterns\More\Delegation;
/**
* Class JuniorDeveloper

View File

@@ -1,6 +1,6 @@
<?php
namespace DesignPatterns\Delegation;
namespace DesignPatterns\More\Delegation;
/**
* Class TeamLead

View File

@@ -1,6 +1,6 @@
<?php
namespace DesignPatterns\Delegation;
namespace DesignPatterns\More\Delegation;
// instantiate TeamLead and appoint to assistants JuniorDeveloper
$teamLead = new TeamLead(new JuniorDeveloper());