<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n314</author_name>
  <author_url>https://blog.hatena.ne.jp/n314/</author_url>
  <blog_title>ログ日記</blog_title>
  <blog_url>https://n314.hatenablog.com/</blog_url>
  <categories>
    <anon>PHPStan</anon>
    <anon>PHP</anon>
  </categories>
  <description>前に書いた記事 DDDのさわりをやろうとした - ログ日記 ここで作ろうと思っていた拡張を作った。 github.comサンプル。 https://github.com/nishimura/phpstan-namespace-dependency-sample 実際に作ってみると、各レイヤーごとの依存関係の認識が曖昧なことに気が付いた。DomainはApplicationServceで生成するけど、生成したDomainのオブジェクトをそのまま返却しても良い？ ドメインのオブジェクトをそのまま返却してしまうと、Presentation層などでドメインの複雑な操作をしてしまえるので、Dtoに詰め替…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn314.hatenablog.com%2Fentry%2F2020%2F08%2F17%2F202724&quot; title=&quot;PHPStanのextensionでnamespace・class名の依存関係チェックする - ログ日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-17 20:27:24</published>
  <title>PHPStanのextensionでnamespace・class名の依存関係チェックする</title>
  <type>rich</type>
  <url>https://n314.hatenablog.com/entry/2020/08/17/202724</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
