PHP Класс Elcodi\Store\UserBundle\Form\Type\LoginType

Наследование: extends Symfony\Component\Form\AbstractType
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router

Открытые методы

Метод Описание
__construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router ) Constructor
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options ) Buildform function
getBlockPrefix ( ) : string Returns the prefix of the template block name for this type.
getName ( ) : string Return unique name for this form

Описание методов

__construct() публичный Метод

Constructor
public __construct ( Symfony\Component\Routing\Generator\UrlGeneratorInterface $router )
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router

buildForm() публичный Метод

Buildform function
public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface the formBuilder
$options array the options for this form

getBlockPrefix() публичный Метод

The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
public getBlockPrefix ( ) : string
Результат string The prefix of the template block name

getName() публичный Метод

Return unique name for this form
Устаревший: Deprecated since Symfony 2.8, to be removed from Symfony 3.
public getName ( ) : string
Результат string

Описание свойств

$router защищенное свойство

Router
protected UrlGeneratorInterface,Symfony\Component\Routing\Generator $router
Результат Symfony\Component\Routing\Generator\UrlGeneratorInterface