Bundle/SeoBundle/Controller/PageSeoController.php
private function createSettingsForm(PageSeo $pageSeo, View $view)
    {
        return $this->get('form.factory')->create(PageSeoType::class, $pageSeo,
            [
                'action' => $this->get('router')->generate('victoire_seo_pageSeo_settings_post',
                    [
                        'id' => $view->getId(),
                    ]
                ),
                'method' => 'POST',
            ]
        );
    }
private function createSettingsForm(PageSeo $pageSeo, View $view)
    {
        return $this->get('form.factory')->create(PageSeoType::class, $pageSeo,
            [
                'action' => $this->get('router')->generate('victoire_seo_pageSeo_settings_post',
                    [
                        'id' => $view->getId(),
                    ]
                ),
                'method' => 'POST',
            ]
        );
    }
private function createSettingsForm ( PageSeo $ pageSeo , View $ view ) { return $ this -> get ( 'form.factory' ) -> create ( PageSeoType :: class , $ pageSeo , [ 'action' => $ this -> get ( 'router' ) -> generate ( 'victoire_seo_pageSeo_settings_post' , [ 'id' => $ view -> getId ( ) , ] ) , 'method' => 'POST' , ] ) ; }
Create PageSeo Form.

@param PageSeo $pageSeo
@param View    $view

@return FormInterface
Create PageSeo Form .