✏️ 正在编辑: SimpleContainer.php
路径:
/srv/systems_dir/yuppiecred/vendor/mpdf/mpdf/src/Container/SimpleContainer.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php namespace Mpdf\Container; class SimpleContainer implements \Mpdf\Container\ContainerInterface { private $services; public function __construct(array $services) { $this->services = $services; } public function get($id) { if (!$this->has($id)) { throw new \Mpdf\Container\NotFoundException(sprintf('Unable to find service of key "%s"', $id)); } return $this->services[$id]; } public function has($id) { return isset($this->services[$id]); } public function getServices() { return $this->services; } }
💾 保存文件
← 返回文件管理器