1. Go to this page and download the library: Download nemishkor/toggle-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/ */
nemishkor / toggle-bundle example snippets
$bundles = array(
// ..
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Qandidate\Bundle\ToggleBundle\QandidateToggleBundle(),
);
use Qandidate\Bundle\ToggleBundle\Annotations\Toggle;
/**
* @Toggle("cool-feature")
*/
class FooController
{
/**
* @Toggle("another-cool-feature")
*/
public function barAction()
{
}
public function bazAction()
{
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.