This commit is contained in:
Dominik Liebler
2013-09-13 14:19:55 +02:00
parent 8452c63b7e
commit 8b82ed198d
47 changed files with 93 additions and 218 deletions

View File

@@ -1,9 +1,5 @@
<?php
/*
* DesignPatternPHP
*/
namespace DesignPatterns\ChainOfResponsibilities;
/**
@@ -16,7 +12,9 @@ namespace DesignPatterns\ChainOfResponsibilities;
*/
abstract class Handler
{
/**
* @var null
*/
private $successor = null;
/**
@@ -69,4 +67,4 @@ abstract class Handler
* @return bool true if the request has been processed
*/
abstract protected function processing(Request $req);
}
}