PHP code example of phpmob / settings-bundle
1. Go to this page and download the library: Download phpmob/settings-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/ */
phpmob / settings-bundle example snippets
namespace YourBundle\Form\Type;
use PhpMob\SettingsBundle\Form\Type\AbstractBlueprintType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
class YourSettingType extends AbstractBlueprintType
{
/**
* {@inheritdoc}
*/
public function getParentType(): string
{
return CheckboxType::class;
}
}