lib/Aegis/Parser.php
public function setAttribute() : void
    {
        $last = $this->scope->getLastChild(); // Get the last inserted node
        $this->scope->removeLastChild(); // Remove it
        $this->scope->setAttribute($last);
    }
public function setAttribute() : void
    {
        $last = $this->scope->getLastChild(); // Get the last inserted node
        $this->scope->removeLastChild(); // Remove it
        $this->scope->setAttribute($last);
    }
public function setAttribute ( ) : void { $ last = $ this -> scope -> getLastChild ( ) ; // Get the last inserted node $ this -> scope -> removeLastChild ( ) ; // Remove it $ this -> scope -> setAttribute ( $ last ) ; }
Sets the last inserted node as attribute

@return void
Sets the last inserted node as attribute