PHP code example of bukashk0zzz / timestamptype-bundle
1. Go to this page and download the library: Download bukashk0zzz/timestamptype-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
bukashk0zzz / timestamptype-bundle example snippets
$bundles = array(
// ... other bundles
new Bukashk0zzz\TimestampTypeBundle\Bukashk0zzzTimestampTypeBundle(),
);
class AccountProfileType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('nameFirst', TextType::class, ['label' => 'First Name'])
->add('nameLast', TextType::class, ['label' => 'Last Name'])
->add('startWorking', TimestampType::class, [
'label' => 'Start working from',
'
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.