atom-beautify/examples/simple-jsbeautifyrc/php/expected/test3.php

20 lines
277 B
PHP
Raw Normal View History

<?php
class Date
{
const FORMAT_FULL = 'full';
const FORMAT_LONG = 'long';
const FORMAT_MEDIUM = 'medium';
const FORMAT_SHORT = 'short';
public static function formatDate($time, $format)
{
if(!$time || $time == null)
{
return '';
}
return $time;
}
}