{"categories":["PHP","SOLID\u539f\u5247"],"image_url":null,"blog_url":"https://shkn.hatenablog.com/","description":"\u5358\u4e00\u8cac\u4efb\u306e\u539f\u5247\uff08SRP\uff1aSingle responsibility principle\uff09\u3068\u306f\u3001Robert C.Martin \u300c\u30a2\u30b8\u30e3\u30a4\u30eb\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306e\u5965\u7fa9\u300d*1\u306b\u307e\u3068\u3081\u3089\u308c\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u958b\u767a\u306b\u304a\u3051\u308b\u539f\u5247\u306e\u3072\u3068\u3064\u3067\u3059\u3002 \u5f8c\u5e74\u306b\u306a\u3063\u3066\u3001\u540c\u8457\u8005\u306e\u300cClean Architecture\u300d*2\u306b\u3088\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u518d\u5b9a\u7fa9\u3055\u308c\u307e\u3057\u305f\u3002 \u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u305f\u3063\u305f\u3072\u3068\u3064\u306e\u30a2\u30af\u30bf\u30fc\u306b\u5bfe\u3057\u3066\u8cac\u52d9\u3092\u8ffd\u3046\u3079\u304d\u3067\u3042\u308b\u3002 \u672c\u7a3f\u3067\u306f\u3001PHP\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7528\u3044\u306a\u304c\u3089\u3001\u3053\u306e\u539f\u5247\uff08\u4ee5\u4e0bSRP\uff09\u304c\u610f\u5473\u3059\u308b\u3068\u3053\u308d\u306b\u3064\u3044\u3066\u8003\u3048\u307e\u3059\u3002 SRP\u9055\u53cd\u306e\u4f8b \u67b6\u7a7a\u306e\u793e\u5185\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f8b\u306b\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u4ee5\u4e0b\u306e Employee \u306f\u3001\u793e\u2026","author_name":"shkn","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshkn.hatenablog.com%2Fentry%2F2019%2F04%2F06%2F025055\" title=\"PHP\u3067\u8003\u3048\u308b\u5358\u4e00\u8cac\u4efb\u306e\u539f\u5247 - \u6280\u8853\u30e1\u30e2\u306a\u3069\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","published":"2019-04-06 02:50:55","blog_title":"\u6280\u8853\u30e1\u30e2\u306a\u3069","width":"100%","height":"190","provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/shkn/","title":"PHP\u3067\u8003\u3048\u308b\u5358\u4e00\u8cac\u4efb\u306e\u539f\u5247","url":"https://shkn.hatenablog.com/entry/2019/04/06/025055","type":"rich"}