Inheritance: extends Sulu\Component\HttpKernel\SuluKernel
 public function registerBundles()
 {
     $bundles = parent::registerBundles();
     $bundles[] = new Symfony\Bundle\SecurityBundle\SecurityBundle();
     $bundles[] = new Sulu\Bundle\AdminBundle\SuluAdminBundle();
     return $bundles;
 }
 public function registerBundles()
 {
     $bundles = parent::registerBundles();
     $bundles[] = new Symfony\Bundle\SecurityBundle\SecurityBundle();
     $bundles[] = new Sulu\Bundle\AdminBundle\SuluAdminBundle();
     if (in_array($this->getEnvironment(), ['dev', 'test'])) {
         $bundles[] = new Sulu\Bundle\GeneratorBundle\SuluGeneratorBundle();
     }
     return $bundles;
 }
Exemple #3
0
 /**
  * {@inheritdoc}
  */
 public function registerBundles()
 {
     $bundles = parent::registerBundles();
     $bundles[] = new Symfony\Bundle\SecurityBundle\SecurityBundle();
     $bundles[] = new FOS\RestBundle\FOSRestBundle();
     $bundles[] = new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle();
     $bundles[] = new Sulu\Bundle\AdminBundle\SuluAdminBundle();
     $bundles[] = new Sulu\Bundle\CollaborationBundle\SuluCollaborationBundle();
     $bundles[] = new Sulu\Bundle\PreviewBundle\SuluPreviewBundle();
     if (in_array($this->getEnvironment(), ['dev', 'test'])) {
         $bundles[] = new Sulu\Bundle\GeneratorBundle\SuluGeneratorBundle();
     }
     return $bundles;
 }
 public function registerBundles()
 {
     $bundles = parent::registerBundles();
     $bundles[] = new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle();
     return $bundles;
 }
Exemple #5
0
 /**
  * @inheritdoc
  * @param float $width
  */
 public function __construct($width)
 {
     $this->NormalizationFactor = 140 / 81;
     parent::__construct($width);
 }
Exemple #6
0
 /**
  * @inheritdoc
  * @param float $width
  */
 public function __construct($width)
 {
     $this->NormalizationFactor = M_PI / 2.0;
     parent::__construct($width);
 }
Exemple #7
0
 /**
  * @inheritdoc
  * @param float $width
  */
 public function __construct($width)
 {
     $this->NormalizationFactor = 6.0 / sqrt(2.0 * M_PI);
     parent::__construct($width);
 }