lib/PHPPdf/Core/Node/Node.php
public function makeAttributesSnapshot(array $attributeNames = null)
    {
        if($attributeNames === null)
        {
            $attributeNames = array_keys($this->attributes);
        }
        $class = get_class($this);
        $this->attributesSnapshot = array_intersect_key($this->attributes + self::$defaultAttributes[$class], array_flip($attributeNames));
    }
public function makeAttributesSnapshot(array $attributeNames = null)
    {
        if($attributeNames === null)
        {
            $attributeNames = array_keys($this->attributes);
        }
        $class = get_class($this);
        $this->attributesSnapshot = array_intersect_key($this->attributes + self::$defaultAttributes[$class], array_flip($attributeNames));
    }
public function makeAttributesSnapshot ( array $ attributeNames = null ) { if ( $ attributeNames === null ) { $ attributeNames = array_keys ( $ this -> attributes ) ; } $ class = get_class ( $ this ) ; $ this -> attributesSnapshot = array_intersect_key ( $ this -> attributes + self :: $ defaultAttributes [ $ class ] , array_flip ( $ attributeNames ) ) ; }
Make snapshot of attribute's map
Make snapshot of attribute s map