Refactor service interface implementation declaration

This commit is contained in:
Romain Neutron
2012-04-04 16:09:39 +02:00
parent 54f5aac73e
commit a905fa499a
12 changed files with 12 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ use Alchemy\Phrasea\Core,
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class ApcCache extends ServiceAbstract implements ServiceInterface class ApcCache extends ServiceAbstract
{ {
protected $cache; protected $cache;

View File

@@ -24,7 +24,7 @@ use Alchemy\Phrasea\Core,
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class ArrayCache extends ServiceAbstract implements ServiceInterface class ArrayCache extends ServiceAbstract
{ {
protected $cache; protected $cache;

View File

@@ -23,7 +23,7 @@ use Alchemy\Phrasea\Core,
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class MemcacheCache extends ServiceAbstract implements ServiceInterface class MemcacheCache extends ServiceAbstract
{ {
const DEFAULT_HOST = "localhost"; const DEFAULT_HOST = "localhost";

View File

@@ -23,7 +23,7 @@ use Alchemy\Phrasea\Core,
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class RedisCache extends ServiceAbstract implements ServiceInterface class RedisCache extends ServiceAbstract
{ {
const DEFAULT_HOST = "localhost"; const DEFAULT_HOST = "localhost";

View File

@@ -23,7 +23,7 @@ use Alchemy\Phrasea\Core,
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class XcacheCache extends ServiceAbstract implements ServiceInterface class XcacheCache extends ServiceAbstract
{ {
protected $cache; protected $cache;

View File

@@ -24,7 +24,7 @@ use Doctrine\Logger\MonologSQLLogger;
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class Monolog extends ParentLog implements ServiceInterface class Monolog extends ParentLog
{ {
const JSON_OUTPUT = 'json'; const JSON_OUTPUT = 'json';

View File

@@ -23,7 +23,7 @@ use Doctrine\DBAL\Logging\EchoSQLLogger;
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class Phpecho extends ServiceAbstract implements ServiceInterface class Phpecho extends ServiceAbstract
{ {
public function getDriver() public function getDriver()

View File

@@ -24,7 +24,7 @@ use Monolog\Handler\FirePHPHandler;
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class FirePHP extends ServiceAbstract implements ServiceInterface class FirePHP extends ServiceAbstract
{ {
protected $logger; protected $logger;

View File

@@ -22,7 +22,7 @@ use Alchemy\Phrasea\Core,
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class Monolog extends ServiceAbstract implements ServiceInterface class Monolog extends ServiceAbstract
{ {
const DEFAULT_MAX_DAY = 10; const DEFAULT_MAX_DAY = 10;

View File

@@ -24,7 +24,7 @@ use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
class Doctrine extends ServiceAbstract implements ServiceInterface class Doctrine extends ServiceAbstract
{ {
protected $loggers = array( protected $loggers = array(

View File

@@ -20,7 +20,7 @@ use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
* @license http://opensource.org/licenses/gpl-3.0 GPLv3 * @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com * @link www.phraseanet.com
*/ */
abstract class ServiceAbstract abstract class ServiceAbstract implements ServiceInterface
{ {
protected $core; protected $core;

View File

@@ -16,7 +16,7 @@ use Alchemy\Phrasea\Core,
Alchemy\Phrasea\Core\Service\ServiceAbstract, Alchemy\Phrasea\Core\Service\ServiceAbstract,
Alchemy\Phrasea\Core\Service\ServiceInterface; Alchemy\Phrasea\Core\Service\ServiceInterface;
class Twig extends ServiceAbstract implements ServiceInterface class Twig extends ServiceAbstract
{ {
/** /**