<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masayuki5160</author_name>
  <author_url>https://blog.hatena.ne.jp/masayuki5160/</author_url>
  <blog_title>masayuki5160's diary</blog_title>
  <blog_url>https://masaytan.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>コンストラクタについてコンストラクタはクラスのインスタンスが作られるタイミングで自動的に呼ばれるメソッドのこと。 実装はこんな感じで。public function __construct(引数,引数,,,) { (実装) }コンストラクタは使用することで、 オブジェクトを生成する際に必要なパラメータを引数として受け取り、プロパティにセットすることができる。 &lt;?php class Employee { /*クラス内で使用する定数を宣言*/ /*クラス定数は&quot;クラス名::定数名&quot;とすることでアクセス可能*/ const PARTTIME= 0x01; const REGULAR = 0x02;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasaytan.com%2Fentry%2F20120319%2F1332139394&quot; title=&quot;クラスとオブジェクトの勉強2 - masayuki5160&amp;#39;s diary&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>2012-03-19 15:43:14</published>
  <title>クラスとオブジェクトの勉強2</title>
  <type>rich</type>
  <url>https://masaytan.com/entry/20120319/1332139394</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
