<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ts0818</author_name>
  <author_url>https://blog.hatena.ne.jp/ts0818/</author_url>
  <blog_title>ts0818のブログ</blog_title>
  <blog_url>https://ts0818.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>PHP5.4以降で『トレイト（trait）』というしくみが導入されたようです。 抽象クラス、インターフェイスときて、トレイトです。 トレイトは、多重継承のできないPHPで、継承することなくクラスにメンバ（メソッドやプロパティ）を追加できるしくみのようです。 抽象クラスやインターフェイスと同じく、トレイト単体では何も出来ないので、必ず何かしらのクラスを必要とします。 例のごとく、他サイト様が素晴らしいまとめをしてくれてます。 ⇩ PHPのトレイトについては下記サイトへ ・PHP5.4 の新機能 trait のまとめと実際の利用例 | 株式会社インフィニットループ技術ブログ ・PHP5.4のtra…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fts0818.hatenablog.com%2Fentry%2F2015%2F10%2F15%2F183555&quot; title=&quot;PHP5.4以降で導入されたトレイト（trait）というしくみ - ts0818のブログ&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-15 18:35:55</published>
  <title>PHP5.4以降で導入されたトレイト（trait）というしくみ</title>
  <type>rich</type>
  <url>https://ts0818.hatenablog.com/entry/2015/10/15/183555</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
