/** * {@inheritdoc} */ public function getValue() { if ($this->hasReference()) { return $this->reference_item->getValue(); } else { return parent::getValue(); } }
/** * {@inheritdoc} */ public function __construct(Page $parent, array $format) { parent::__construct($parent, $format); $this->style = new BasicStyle($format); }