MongoDbProfilerStorage deprecated::purge()

purge() Purges all data from the database.

MongoDbProfilerStorage deprecated::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

MongoDbProfilerStorage deprecated

class MongoDbProfilerStorage implements ProfilerStorageInterface deprecated Deprecated since Symfony 2.8, to be removed in Symfony 3.0. Use {@link FileProfilerStorage} instead. Methods __construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400) Constructor. array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. purge() Purges all data from

MongoCaster

class MongoCaster Casts classes from the MongoDb extension to array representation. Methods static castCursor(MongoCursorInterface $cursor, array $a, Stub $stub, $isNested) Details static castCursor(MongoCursorInterface $cursor, array $a, Stub $stub, $isNested) Parameters MongoCursorInterface $cursor array $a Stub $stub $isNested

MoneyType::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

MoneyType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

MoneyType::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

MoneyType::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

MoneyType

class MoneyType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template block name for this type

MoneyToLocalizedStringTransformer::transform()

mixed transform(mixed $value) Transforms a normalized format into a localized money string. Parameters mixed $value The value in the original representation Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not numeric or if the value can not be transformed.