Files
DesignPatternsPHP/Behavioral/NullObject/LoggerInterface.php
2015-12-21 07:28:20 -05:00

19 lines
337 B
PHP

<?php
namespace DesignPatterns\Behavioral\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);
}