CoreFiles by mySites.guru
LoggerAwareTrait.php26 lines, 428 bytes, from Joomla_3.10.0-alpha9-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha8
md5
ee33c877ce59ac3122251e0613c77db8
sha1
955c726c30510e4ac4b2611113a8c705bc9d79da
sha256
b740f77b2cc2af3eea3fa0e1c9b7a33c2b0c6130992ec52dbb4c846e02dd4294
<?php

namespace Psr\Log;

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

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

The same content is in 3 releases, Joomla 3.10.0-alpha9 to 3.10.0-rc2. See them all, or every version of this file.