public function testToArray() { $this->assertCount(0, $this->margin->toArray()); }
/** * Set the page footer caption and optional margin. * * @param string $string The footer text * @param float $margin optional foot margin in inches. * * @return PrintSetup */ public function setFooter($string, $margin = 0.5) { $this->footer = $this->truncateStringIfNeeded($string); $this->margin->setFoot($margin); return $this; }
/** * @param Margin margin * @return Cluster */ public function setMargin(Margin $margin) { $this->set($margin->getName(), $margin->getValue()); return $this; }