<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shin1x1</author_name>
  <author_url>https://blog.hatena.ne.jp/shin1x1/</author_url>
  <blog_title>Shin x Blog</blog_title>
  <blog_url>https://blog.shin1x1.com/</blog_url>
  <categories>
  </categories>
  <description>Laravel のサービスコンテナでは、DI の手法として、コンストラクタインジェクションとメソッドインジェクションをサポートしています。サービスコンテナの機能を応用することで、セッターインジェクションを利用できます。 このエントリは、Laravelリファレンス Advent Calendar 2015 の11日目です。 セッターインジェクション DI する対象クラスが、以下の MessageDeliveryクラスです。このクラスは、Sender を必要としているので、setSender メソッドで与えます。この setSender メソッドで依存インスタンスを与えるのが、セッターインジェクシ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shin1x1.com%2Fentry%2Fsetter-injection-with-laravel&quot; title=&quot;Laravel セッターインジェクションによる DI - Shin x Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/s/shin1x1/20151211/20151211111507.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-12-11 11:30:00</published>
  <title>Laravel セッターインジェクションによる DI</title>
  <type>rich</type>
  <url>https://blog.shin1x1.com/entry/setter-injection-with-laravel</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
