Hello,
To filter a something from $_POST _in phalcon , we use :
'unit' => $this->request->getPost('unit', 'int').
However how to do deal if I have "unit" variable from $_POST is array ie.
unit = aray (
0 => 5,
1 => 9,
2 => 18,
3 => 2
);