for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Psi\Component\Grid\Cell;
use Psi\Component\Grid\CellTypeInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Psi\Component\Grid\CellInterface;
class DateTimeType implements CellTypeInterface
{
public function configureOptions(OptionsResolver $resolver)
$resolver->setDefault('format', 'YYYY-mm-dd HH:ii:ss');
}
public function createCell($value, array $options): CellInterface
return new DateTimeCell($value, $options);