FilterControllerEvent::getController()

callable getController() Returns the current controller. Return Value callable

FilterControllerEvent

class FilterControllerEvent extends KernelEvent Allows filtering of a controller callable. You can call getController() to retrieve the current controller. With setController() you can set a new controller that is used in the processing of the request. Controllers should be callables. Methods bool isPropagationStopped() Returns whether further event listeners should be triggered. from Event stopPropagation() Stops the propagation of the event to further event listeners. from Event

FilterControllerArgumentsEvent::setArguments()

setArguments(array $arguments) Parameters array $arguments

FilterControllerArgumentsEvent::getArguments()

array getArguments() Return Value array

FilterControllerArgumentsEvent

class FilterControllerArgumentsEvent extends FilterControllerEvent Allows filtering of controller arguments. You can call getController() to retrieve the controller and getArguments to retrieve the current arguments. With setArguments() you can replace arguments that are used to call the controller. Arguments set in the event must be compatible with the signature of the controller. Methods bool isPropagationStopped() Returns whether further event listeners should be triggered. from Even

FileValidator

class FileValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. KB_BYTES MB_BYTES KIB_BYTES MIB_BYTES Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is va

FileTypeFilterIterator

class FileTypeFilterIterator extends FilterIterator FileTypeFilterIterator only keeps files, directories, or both. Constants ONLY_FILES ONLY_DIRECTORIES Methods rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. from FilterIterator __construct(Iterator $iterator, int $mode) Constructor. bool accept() Filters the iterator values. Details rewind()

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

FileType::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. This method gets called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. When this method is called, views of the form's children have already been built and finished and can be accessed. You should only implement such logic in this method that actually accesses child views. For everything else you are recommended to implement {@link buil

FileType::configureOptions()

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