<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sasezaki</author_name>
  <author_url>https://blog.hatena.ne.jp/sasezaki/</author_url>
  <blog_title>OTOBANK Engineering Blog</blog_title>
  <blog_url>https://engineering.otobank.co.jp/</blog_url>
  <categories>
  </categories>
  <description>前回の記事 レイヤー間の依存関係の静的解析 - PHP deptrac ~ 導入編 からの続きです。 「ユニットテストとは事情が違うし、そうそう違反は起きないよ」と思った方がいらっしゃるかも知れません。いえ、レイヤーの依存関係違反は割と発生します。 起こりうる違反例 前回のコードを少し変更して、Userエンティテイにおいて getType() メソッドで属性を取得できるようにしてみましょう。 &lt;?php namespace Foo\Entity; class User { public function getType() : string { // 何かしらのロジック return \Foo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineering.otobank.co.jp%2Fentry%2F2021%2F03%2F26%2F194435&quot; title=&quot;レイヤー間の依存関係の静的解析 - PHP deptrac ~ 実践編 - OTOBANK Engineering 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-26 19:44:35</published>
  <title>レイヤー間の依存関係の静的解析 - PHP deptrac ~ 実践編</title>
  <type>rich</type>
  <url>https://engineering.otobank.co.jp/entry/2021/03/26/194435</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
