CsrfExtension

CsrfExtension

class CsrfExtension extends AbstractExtension

This extension protects forms by using a CSRF token.

Methods

FormTypeInterface getType(string $name)

Returns a type by name.

from AbstractExtension
bool hasType(string $name)

Returns whether the given type is supported.

from 登录查看完整内容