lib/PHPPdf/Core/Node/Node.php
public function setPadding()
    {
        $paddings = \func_get_args();

        if(count($paddings) === 1 && is_string(current($paddings)))
        {
            $paddings = explode(' ', current($paddings));
        }


        $paddingLabels = array('padding-top', 'padding-right', 'padding-bottom', 'padding-left');
        $this->setComposeAttribute($paddingLabels, $paddings);

        return $this;
    }
public function setPadding()
    {
        $paddings = \func_get_args();

        if(count($paddings) === 1 && is_string(current($paddings)))
        {
            $paddings = explode(' ', current($paddings));
        }


        $paddingLabels = array('padding-top', 'padding-right', 'padding-bottom', 'padding-left');
        $this->setComposeAttribute($paddingLabels, $paddings);

        return $this;
    }
public function setPadding ( ) { $ paddings = \ func_get_args ( ) ; if ( count ( $ paddings ) === 1 && is_string ( current ( $ paddings ) ) ) { $ paddings = explode ( ' ' , current ( $ paddings ) ) ; } $ paddingLabels = array ( 'padding-top' , 'padding-right' , 'padding-bottom' , 'padding-left' ) ; $ this -> setComposeAttribute ( $ paddingLabels , $ paddings ) ; return $ this ; }
Set "css style" paddings
Set css style paddings