2014-09-19 PHPのpublic, private, protected PHP メモ アクセス装飾子 意味 public どこからでもアクセス可能 private 自クラスからのみアクセス可能 protected 自クラスとサブクラスからのみアクセス可能