Skip to content

Commit

Permalink
Moves the repository to the PUGX Team
Browse files Browse the repository at this point in the history
  • Loading branch information
simodima committed Jul 14, 2015
1 parent efb67e1 commit 434e52f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function publishAction(Request $request)
$publishCommand = new PublishPostCommand();
$publishCommand->date = new \DateTime('now');

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

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

## Installation

`composer require trt/formable`
`composer require pugx/formable`

```php
// Register the Bundle
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trt/formable",
"description": "The Symfony Form Generator",
"name": "pugx/formable",
"description": "The PUGX Symfony Form Generator",
"type": "Bundle",
"autoload": {
"psr-4" : { "Formable\\": "src" }
Expand Down
2 changes: 1 addition & 1 deletion src/Bundle/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>
<service id="trt.formable" class="Formable\Generator\Generator" public="true">
<service id="pugx.formable" class="Formable\Generator\Generator" public="true">
<argument type="service" id="annotation_reader" />
<argument type="service" id="form.factory" />
</service>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/Integration/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function setUp()
{
static::bootKernel();
$container = static::$kernel->getContainer();
$this->generator = $container->get('trt.formable');
$this->generator = $container->get('pugx.formable');
}

protected function tearDown()
Expand Down

0 comments on commit 434e52f

Please sign in to comment.