public function fromArray(array $actions)
    {
        foreach ($actions as $action => $arguments) {
            $this->addAction($action, $arguments);
        }
        return $this;
    }
public function fromArray(array $actions)
    {
        foreach ($actions as $action => $arguments) {
            $this->addAction($action, $arguments);
        }
        return $this;
    }
public function fromArray ( array $ actions ) { foreach ( $ actions as $ action => $ arguments ) { $ this -> addAction ( $ action , $ arguments ) ; } return $ this ; }
Creates action sequence from associative array,
where key is action, and value is action arguments

@param array $actions
@return $this
Creates action sequence from associative array where key is action and value is action arguments