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

推荐订阅源

T
Tailwind CSS Blog
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
The Cloudflare Blog
博客园 - 聂微东
博客园 - 司徒正美
量子位
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Y
Y Combinator Blog
S
SegmentFault 最新的问题
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
A
About on SuperTechFans

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);