/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
mpdf
/
psr-log-aware-trait
/
src
/
/home/techb158/ileadtechnology.com/vendor/mpdf/psr-log-aware-trait/src
mkdir
upload
Name
Size
Mode
Actions
MpdfPsrLogAwareTrait.php
502
0644
edit
dl
rm
PsrLogAwareTrait.php
252
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/mpdf/psr-log-aware-trait/src/MpdfPsrLogAwareTrait.php
(502B)
<?php namespace Mpdf\PsrLogAwareTrait; use Psr\Log\LoggerInterface; trait MpdfPsrLogAwareTrait { /** * @var \Psr\Log\LoggerInterface */ protected $logger; public function setLogger(LoggerInterface $logger) { $this->logger = $logger; if (property_exists($this, 'services') && is_array($this->services)) { foreach ($this->services as $name) { if ($this->$name && $this->$name instanceof \Psr\Log\LoggerAwareInterface) { $this->$name->setLogger($logger); } } } } }
Save
cmd:
run