Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Controller/CommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Console\Application as App;
use Symfony\Component\Console\Tester\CommandTester;
use Symfony\Component\Process\ProcessBuilder;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RedirectResponse;

Expand Down
1 change: 0 additions & 1 deletion DataCollector/CommandDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Symfony\Component\HttpKernel\DataCollector\DataCollector;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;

class CommandDataCollector extends DataCollector
{
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Configuration implements ConfigurationInterface
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('juanber84_profilercommand');
//$rootNode = $treeBuilder->root('juanber84_profilercommand');

// Here you should define the parameters that are allowed to
// configure your bundle. See the documentation linked above for
Expand Down
4 changes: 2 additions & 2 deletions DependencyInjection/Juanber84ProfilercommandExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class Juanber84ProfilercommandExtension extends Extension
*/
public function load(array $configs, ContainerBuilder $container)
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
//$configuration = new Configuration();
//$config = $this->processConfiguration($configuration, $configs);

$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.yml');
Expand Down
33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
ProfilercommandBundle -- ALPHA VERSION
======================================
ProfilercommandBundle -- 1.0
============================
Commands tools in your Symfonyprofiler. First stable version.

Commands tools in your Symfonyprofiler
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/f309f5a9-77c1-464c-ae6c-587ec91f60cc/big.png)](https://insight.sensiolabs.com/projects/f309f5a9-77c1-464c-ae6c-587ec91f60cc)

![alt text](http://juanber84.pusku.com/recursos/pantallazo.png "ProfilercommandBundle")

Add in your composer.json

{
"require": {
"juanber84/profilercommand-bundle": "dev-master"
"juanber84/profilercommand-bundle": "1.0.*@dev"
}
}

Add in your app/AppKernel.php

<?php

// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Juanber84\Bundle\ProfilercommandBundle\Juanber84ProfilercommandBundle(),
// ...
);
}
```php
<?php

// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Juanber84\Bundle\ProfilercommandBundle\Juanber84ProfilercommandBundle(),
// ...
);
}
```

Add in your app/routing.yml

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"email": "juanber84@gmail.com"
}],
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": ">=2.0.0"
"php": ">=5.3.2"
},
"autoload": {
"psr-0": {
Expand Down