FilterIterator

class FilterIterator extends FilterIterator This iterator just overrides the rewind method in order to correct a PHP bug, which existed before version 5.5.23/5.6.7. Methods rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. Details rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after

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::getArguments()

array getArguments() Return Value array

FilterControllerArgumentsEvent::setArguments()

setArguments(array $arguments) Parameters array $arguments

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

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

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()

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

FileType::configureOptions()

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

FileType

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