in src/Facebook/InstantArticles/Elements/Header.php [473:518]
public function getContainerChildren()
{
$children = array();
if ($this->cover) {
$children[] = $this->cover;
}
if ($this->title) {
$children[] = $this->title;
}
if ($this->subtitle) {
$children[] = $this->subtitle;
}
if ($this->published) {
$children[] = $this->published;
}
if ($this->modified) {
$children[] = $this->modified;
}
if ($this->authors) {
foreach ($this->authors as $author) {
$children[] = $author;
}
}
if ($this->kicker) {
$children[] = $this->kicker;
}
if (count($this->ads) > 0) {
foreach ($this->ads as $ad) {
$children[] = $ad;
}
}
if ($this->sponsor) {
$children[] = $this->sponsor;
}
return $children;
}