Skip to content

Commit 434e52f

Browse files
committed
Moves the repository to the PUGX Team
1 parent efb67e1 commit 434e52f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function publishAction(Request $request)
7979
$publishCommand = new PublishPostCommand();
8080
$publishCommand->date = new \DateTime('now');
8181

82-
$form = $this->get('trt.formable')->generate($publishCommand);
82+
$form = $this->get('pugx.formable')->generate($publishCommand);
8383
$form->submit($request->request->all(), false /* Do not clear missing data */);
8484

8585
if ($form->isValid()) {
@@ -101,7 +101,7 @@ The `@Formable()` annotation follows the `Symfony\Component\Form\FormBuilderInte
101101
```php
102102
/**
103103
* @Formable(name="date", dataType="date", options={
104-
* "format"= IntlDateFormatter::MEDIUM,
104+
* "format"= "yyyy-MM-dd",
105105
* "days" = {1,2,3,4}
106106
* })
107107
*/
@@ -110,7 +110,7 @@ The `@Formable()` annotation follows the `Symfony\Component\Form\FormBuilderInte
110110

111111
## Installation
112112

113-
`composer require trt/formable`
113+
`composer require pugx/formable`
114114

115115
```php
116116
// Register the Bundle

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "trt/formable",
3-
"description": "The Symfony Form Generator",
2+
"name": "pugx/formable",
3+
"description": "The PUGX Symfony Form Generator",
44
"type": "Bundle",
55
"autoload": {
66
"psr-4" : { "Formable\\": "src" }

src/Bundle/Resources/config/services.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
66

77
<services>
8-
<service id="trt.formable" class="Formable\Generator\Generator" public="true">
8+
<service id="pugx.formable" class="Formable\Generator\Generator" public="true">
99
<argument type="service" id="annotation_reader" />
1010
<argument type="service" id="form.factory" />
1111
</service>

src/Tests/Integration/GeneratorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function setUp()
3838
{
3939
static::bootKernel();
4040
$container = static::$kernel->getContainer();
41-
$this->generator = $container->get('trt.formable');
41+
$this->generator = $container->get('pugx.formable');
4242
}
4343

4444
protected function tearDown()

0 commit comments

Comments
 (0)