meta = new Metadata; $this->people = new PersonCollection; $this->categories = new CategoryCollection; $this->sched = new Schedule; } /** Parses a string to produce a Feed object * * Most users will probably rather want the Feed::fetch() method * * @param string $data The newsfeed to parse * @param string|null $contentType The HTTP Content-Type of the document, if available * @param string|null $url The URL used to retrieve the newsfeed, if applicable */ public static function parse(string $data, ?string $contentType = null, ?string $url = null): self { $out = new self; return $out; } }