CoreFiles by mySites.guru
LoggerAwareTrait.php26 lines, 423 bytes, from Joomla_3.10.0-alpha8-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha7
md5
fff82f85315e08a0c34c8daa9b7779a9
sha1
1f65983a0f4e7deb16f96a3c6d82e1f338a5f1b8
sha256
91839fc531b5b3d525cdedbb8294f7edae4bc36ee35f8b7e414f5f8db7fb0836
<?php

namespace Psr\Log;

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

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

The same content is in 5 releases, Joomla 3.10.0-alpha4 to 3.10.0-alpha8. See them all, or every version of this file.