original_string: public function setMargins(array $setting): PdfInterface
      {
          $this->setProperty('marginTop', (int) $setting['marginTop']);
          $this->setProperty('marginRight', (int) $setting['marginRight']);
          $this->setProperty('marginBottom', (int) $setting['marginBottom']);
          $this->setProperty('marginLeft', (int) $setting['marginLeft']);
          $this->setProperty('marginHeader', (int) $setting['marginHeader']);
          $this->setProperty('marginFooter', (int) $setting['marginFooter']);
  
          return $this;
      }
code: public function setMargins(array $setting): PdfInterface
      {
          $this->setProperty('marginTop', (int) $setting['marginTop']);
          $this->setProperty('marginRight', (int) $setting['marginRight']);
          $this->setProperty('marginBottom', (int) $setting['marginBottom']);
          $this->setProperty('marginLeft', (int) $setting['marginLeft']);
          $this->setProperty('marginHeader', (int) $setting['marginHeader']);
          $this->setProperty('marginFooter', (int) $setting['marginFooter']);
  
          return $this;
      }
code_tokens: public function setMargins ( array $ setting ) : PdfInterface { $ this -> setProperty ( 'marginTop' , ( int ) $ setting [ 'marginTop' ] ) ; $ this -> setProperty ( 'marginRight' , ( int ) $ setting [ 'marginRight' ] ) ; $ this -> setProperty ( 'marginBottom' , ( int ) $ setting [ 'marginBottom' ] ) ; $ this -> setProperty ( 'marginLeft' , ( int ) $ setting [ 'marginLeft' ] ) ; $ this -> setProperty ( 'marginHeader' , ( int ) $ setting [ 'marginHeader' ] ) ; $ this -> setProperty ( 'marginFooter' , ( int ) $ setting [ 'marginFooter' ] ) ; return $ this ; }
docstring: Set the page margins.
  
  @param array $setting The margin configiration setting
  
  @return PdfInterface The current instance
  
  @api
docstring_tokens: Set the page margins .