// Forward flow to another action in the current controller
// passing parameters
$this->dispatcher->forward(
[
"action" => "search",
"params" => [1, 2, 3]
]
);
https://docs.phalcon.io/en/latest/reference/dispatching.html#forwarding-to-other-actions
In your case, do this:
$data = $this->request->getPost();
$this->dispatcher->forward(
[
"action" => "someAction",
"params" => [$data]
]
);