惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
The Cloudflare Blog
IT之家
IT之家
雷峰网
雷峰网
小众软件
小众软件
博客园 - 叶小钗
博客园 - 聂微东
爱范儿
爱范儿
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
博客园 - 【当耐特】
V
V2EX
博客园_首页
T
Tailwind CSS Blog

Feed of "schmarty/gem-diamond"

issue when using indieauth[dot]com? gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond proxy for profile images gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond gem-diamond
gem-diamond
schmarty · 2024-07-29 · via Feed of "schmarty/gem-diamond"

共有 2 个文件被更改,包括 6 次插入5 次删除

@ -5,15 +5,17 @@ namespace App;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
class Controller {
use Schmarty\Micropubkit\Controllers\Common\{ResponseAware,ResponseAwareTrait};
class Controller implements ResponseAware {
use ResponseAwareTrait;
private ResponseInterface $response;
private \League\Plates\Engine $templates;
private \App\Model\Site $site;
private \App\Model\SiteCheck $siteCheck;
public function __construct(ResponseInterface $response, \League\Plates\Engine $templates, \App\Model\Site $site, \App\Model\SiteCheck $siteCheck) {
$this->response = $response;
public function __construct(\League\Plates\Engine $templates, \App\Model\Site $site, \App\Model\SiteCheck $siteCheck) {
$this->templates = $templates;
$this->site = $site;
$this->siteCheck = $siteCheck;

@ -24,7 +24,6 @@ $app->container->addShared(App\Model\SiteCheck::class)->addArgument(App\DB::clas
// set up controller for welcome and forms
$app->container->addShared(App\Controller::class)
->addArgument(Psr\Http\Message\ResponseInterface::class)
->addArgument(League\Plates\Engine::class)
->addArgument(App\Model\Site::class)
->addArgument(App\Model\SiteCheck::class);