phossa2/logger

View on GitHub
src/Logger/Entry/LogEntryPrototypeInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Phossa Project
 *
 * PHP version 5.4
 *
 * @category  Library
 * @package   Phossa2\Logger
 * @copyright Copyright (c) 2016 phossa.com
 * @license   http://mit-license.org/ MIT License
 * @link      http://www.phossa.com/
 */
/*# declare(strict_types=1); */

namespace Phossa2\Logger\Entry;

/**
 * LogEntryPrototypeInterface
 *
 * Dealing with prototype of LogEntry
 *
 * @package Phossa2\Logger
 * @author  Hong Zhang <phossa@126.com>
 * @version 2.0.0
 * @since   2.0.0 added
 */
interface LogEntryPrototypeInterface
{
    /**
     * Setup log entry prototype
     *
     * @param  LogEntryInterface $logEntry
     * @return $this
     * @access public
     * @api
     */
    public function setLogEntryPrototype(LogEntryInterface $logEntry = null);
}