/** * build values * * @return void * @author Justin Palmer **/ public function getValues($props) { $return = ''; foreach ($props as $key => $value) { if ($value instanceof Expression) { $return .= "{$value},"; $this->model->props()->remove($key); } else { $return .= "?,"; } } return rtrim($return, ','); }