ChoiceType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

ChoiceListInterface deprecated::getChoices()

array getChoices() Returns the list of choices. Return Value array The choices with their indices as keys

Definition::addArgument()

Definition addArgument(mixed $argument) Adds an argument to pass to the service constructor/factory method. Parameters mixed $argument An argument Return Value Definition The current instance

AssetsHelper deprecated

class AssetsHelper extends CoreAssetsHelper deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. AssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(string $basePath = null, string|array $baseUrls = array(), string $version = null, string $format = null, array $namedPackages = array()) Constructor. setDefau

RangeType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

FileinfoMimeTypeGuesser

class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface Guesses the mime type using the PECL extension FileInfo. Methods __construct(string $magicFile = null) Constructor. static bool isSupported() Returns whether this guesser is supported on the current OS/PHP setup. string guess(string $path) Guesses the mime type of the file with the given path. Details __construct(string $magicFile = null) Constructor. Parameters stri

PropelFactory::create()

create(ContainerBuilder $container, $id, $config) Parameters ContainerBuilder $container $id $config

ResponseHeaderBag::hasCacheControlDirective()

bool hasCacheControlDirective(string $key) Returns true if the Cache-Control directive is defined. Parameters string $key The Cache-Control directive Return Value bool true if the directive exists, false otherwise

ValidatorTypeGuesser::guessPatternForConstraint()

ValueGuess|null guessPatternForConstraint(Constraint $constraint) Guesses a field's pattern based on the given constraint. Parameters Constraint $constraint The constraint to guess for Return Value ValueGuess|null The guess for the pattern

TimedPhpEngine

class TimedPhpEngine extends PhpEngine Times the time spent to render a template. Methods __construct(TemplateNameParserInterface $parser, ContainerInterface $container, LoaderInterface $loader, Stopwatch $stopwatch, GlobalVariables $globals = null) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. bool exists(string|TemplateReferenceInterface $name) Returns true if the template exists. from PhpEngine bool s