Files
DesignPatternsPHP/Behavioral/NullObject/LoggerInterface.php
Antonio Spinelli e59d70a0ac start a restructure
2014-03-21 18:03:45 -03:00

19 lines
326 B
PHP

<?php
namespace DesignPatterns\NullObject;
/**
* LoggerInterface is a contract for logging something
*
* Key feature: NullLogger MUST inherit from this interface like any other Loggers
*/
interface LoggerInterface
{
/**
* @param string $str
*
* @return mixed
*/
public function log($str);
}