public function add(array $updates, $class, $append = true)
    {
        $commandClass = $this->getCommandClass('update.add');
        $this->command = new $commandClass($updates, $class, $append);

        return $this->command;
    }
public function add(array $updates, $class, $append = true)
    {
        $commandClass = $this->getCommandClass('update.add');
        $this->command = new $commandClass($updates, $class, $append);

        return $this->command;
    }
public function add ( array $ updates , $ class , $ append = true ) { $ commandClass = $ this -> getCommandClass ( 'update.add' ) ; $ this -> command = new $ commandClass ( $ updates , $ class , $ append ) ; return $ this -> command ; }
Adds a relation in a link-list|set.

@param   array   $updates
@param   string  $class
@param   boolean $append
@return  Add
Adds a relation in a link - list|set .