2017 © Pedro Peláez
 

library symfony

image

webforge/symfony

  • Friday, November 3, 2017
  • by pscheit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 311 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 21 Versions
  • 1 % Grown

The README.md

webforge-symfony

A bridge for webforge and symfony with the usual suspects, (*1)

Use the DateTimeHandler

composer require webforge/symfony

add to your config.yml/services.yml from symfony:, (*2)

imports:
    - { resource: '../../vendor/webforge/symfony/Resources/config/services.yml' }

when you're using the webforge/doctrine-compiler with serializer extension your all set for WebforgeDateTime-Types. Otherwise use annotations like this:, (*3)

<?php

use Doctrine\ORM\Mapping AS ORM;
use JMS\Serializer\Annotation AS Serializer;

class EntityWithTimestamp {

  /**
   * modified timestamp saves the time and date of the last modification
   * 
   * @var Webforge\Common\DateTime\DateTime
   * @ORM\Column(type="WebforgeDateTime", nullable=true)
   * @Serializer\Expose
   * @Serializer\Type("WebforgeDateTime")
   */
  protected $modified = NULL;


  public function updateModified() {
    $this->modified = \Webforge\Common\DateTime\DateTime::now();
  }
}

The Versions

03/11 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

03/11 2017
03/11 2017
14/07 2017
06/07 2017
12/06 2017
05/05 2017
05/05 2017
01/05 2017

1.4.4

1.4.4.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

26/08 2016
17/08 2016

1.4.2

1.4.2.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

17/08 2016

1.4.1

1.4.1.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

17/08 2016

1.4.0

1.4.0.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

08/07 2016

1.3.0

1.3.0.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

13/06 2016

1.2.1

1.2.1.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

10/06 2016

1.2.0

1.2.0.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

03/06 2016

1.1.2

1.1.2.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

24/05 2016

1.1.1

1.1.1.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

28/03 2016

1.1.0

1.1.0.0

  Sources   Download

MIT

The Requires

 

by Philipp Scheit

09/03 2016

1.0.1

1.0.1.0

  Sources   Download

MIT

by Philipp Scheit

09/03 2016

1.0.0

1.0.0.0

  Sources   Download

MIT

by Philipp Scheit