コード例 #1
0
 /**
  * Constructor.
  *
  * @param string $method     An item method name
  * @param array  $options    An options array
  * @param array  $attributes An attributes array
  */
 public function __construct($method, array $options = [], array $attributes = [])
 {
     $name = ['rss' => 'enclosure', 'atom' => 'link'];
     parent::__construct($name, $method, $options, $attributes);
 }