コード例 #1
0
 public function getContextClass()
 {
     return Footer::getClassName();
 }
コード例 #2
0
 /**
  * Sets the footer content to this InstantArticle
  *
  * @param Footer $footer to be added to this Article.
  *
  * @return $this
  */
 public function withFooter($footer)
 {
     Type::enforce($footer, Footer::getClassName());
     $this->footer = $footer;
     return $this;
 }