UrlType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

FixUrlProtocolListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

VarDumperTestCase deprecated

class VarDumperTestCase extends PHPUnit_Framework_TestCase deprecated since version 2.8, to be removed in 3.0. Use the VarDumperTestTrait instead. Methods assertDumpEquals($dump, $data, $message = '') assertDumpMatchesFormat($dump, $data, $message = '') Details assertDumpEquals($dump, $data, $message = '') Parameters $dump $data $message assertDumpMatchesFormat($dump, $data, $message = '')

ButtonBuilder::addModelTransformer()

FormConfigBuilderInterface addModelTransformer(DataTransformerInterface $modelTransformer, bool $forceAppend = false) Unsupported method. This method should not be invoked. Parameters DataTransformerInterface $modelTransformer bool $forceAppend if set to true, append instead of prepending Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

Adapter::createQuery()

QueryInterface createQuery(string $dn, string $query, array $options = array()) Creates a new Query. Parameters string $dn string $query array $options Return Value QueryInterface

DayTransformer deprecated

class DayTransformer extends DayTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\DayTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\DayTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from DayTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regular ex

AmPmTransformer deprecated

class AmPmTransformer extends AmPmTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from AmPmTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regul

AssetsExtension deprecated

class AssetsExtension extends Twig_Extension deprecated since 2.7, to be removed in 3.0. Use Symfony\Bridge\Twig\Extension\AssetExtension instead. Twig extension for Symfony assets helper. Methods __construct(ContainerInterface $container, RequestContext $requestContext = null) array getFunctions() Returns a list of functions to add to the existing list. string getAssetUrl(string $path, string $packageName = null, bool $absolute = false, string|bool|null $version = null) R

User::isCredentialsNonExpired()

bool isCredentialsNonExpired() Checks whether the user's credentials (password) has expired. Internally, if this method returns false, the authentication system will throw a CredentialsExpiredException and prevent login. Return Value bool true if the user's credentials are non expired, false otherwise

VoterInterface

interface VoterInterface VoterInterface is the interface implemented by all voters. Constants ACCESS_GRANTED ACCESS_ABSTAIN ACCESS_DENIED Methods int vote(TokenInterface $token, mixed $subject, array $attributes) Returns the vote for the given parameters. Details int vote(TokenInterface $token, mixed $subject, array $attributes) Returns the vote for the given parameters. This method must return one of the following constants: ACCE