* parsing of ( ) format instructions * * @param $filter * @return string */
($filter)
| 343 | * @return string |
| 344 | */ |
| 345 | private function parseFormat($filter) { |
| 346 | preg_match_all("/(?<=\().*(?=\))/", $filter, $matches); |
| 347 | if (count($matches[0]) > 0) { |
| 348 | return $matches[0][0]; |
| 349 | } else { |
| 350 | return 'Y-m-d H:m:s'; |
| 351 | } |
| 352 | } |
| 353 | } |
no outgoing calls
no test coverage detected