code/command/chain/chain.php
public function setHandlerPriority(CommandHandlerInterface $handler, $priority)
    {
        $this->__queue->setPriority($handler, $priority);
        return $this;
    }
public function setHandlerPriority(CommandHandlerInterface $handler, $priority)
    {
        $this->__queue->setPriority($handler, $priority);
        return $this;
    }
public function setHandlerPriority ( CommandHandlerInterface $ handler , $ priority ) { $ this -> __queue -> setPriority ( $ handler , $ priority ) ; return $ this ; }
Set the priority of a command handler

@param  CommandHandlerInterface $handler   A command handler
@param integer                   $priority  The command priority
@return CommandChain
Set the priority of a command handler