php-yaoi/php-yaoi

View on GitHub
src/Log/Driver/Nil.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Yaoi\Log\Driver;

use Yaoi\Log;
use Yaoi\Log\Driver;
use Yaoi\Log\Settings;

class Nil implements Driver
{
    public function __construct(Settings $dsn = null)
    {
    }

    /**
     * @param $message
     * @param string $type
     * @return $this
     */
    public function push($message, $type = Log::TYPE_MESSAGE)
    {
        return $this;
    }

}