mentors

mentors Git Source Tree


Root/vendor/psr/log/Psr/Log/LoggerAwareTrait.php

<?php

namespace Psr\Log;

/**
 * Basic Implementation of LoggerAwareInterface.
 */
trait LoggerAwareTrait
{
    /** @var LoggerInterface */
    protected $logger;

    /**
     * Sets a logger.
     * 
     * @param LoggerInterface $logger
     */
    public function setLogger(LoggerInterface $logger)
    {
        $this->logger = $logger;
    }
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.14746s using 11 queries.