エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Pull Request #405: Re-bind closures to the application object on PHP 5.4 by igorw · fabpot/Silex · GitHub
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Pull Request #405: Re-bind closures to the application object on PHP 5.4 by igorw · fabpot/Silex · GitHub
igorw opened this pull request June 30, 2012 Re-bind closures to the application object on PHP 5.... igorw opened this pull request June 30, 2012 Re-bind closures to the application object on PHP 5.4 This allows using $app as $this in controllers and before/after handlers without having to use() it: $app->get('/', function () { return $this->redirect('/foo'); }); Works for: closure controllers before/after filters error handlers finish handlers It can also be disabled by overriding the closure_re
2012/07/07 リンク