InputDefinition

class InputDefinition A InputDefinition represents a set of valid command line arguments and options. Usage: $definition = new InputDefinition(array( new InputArgument('name', InputArgument::REQUIRED), new InputOption('foo', 'f', InputOption::VALUE_REQUIRED), )); Methods __construct(array $definition = array()) Constructor. setDefinition(array $definition) Sets the definition of the input. setArguments(InputArgument[] $arguments = array()) Sets the InputArgument objects.

ExcludeDirectoryFilterIterator::accept()

bool accept() Filters the iterator values. Return Value bool True if the value should be kept, false otherwise

DbalLogger::stopQuery()

stopQuery() {@inheritdoc}

DebugLoggerInterface::countErrors()

int countErrors() Returns the number of errors. Return Value int The number of errors

TextType

class TextType extends AbstractType implements DataTransformerInterface Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType 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

NativeSessionStorage::registerBag()

registerBag(SessionBagInterface $bag) Registers a SessionBagInterface for use. Parameters SessionBagInterface $bag

LocaleBundleTransformationRule::getBundleName()

string getBundleName() Returns the name of the compiled resource bundle. Return Value string The name of the bundle.

Translator

class Translator implements TranslatorInterface, TranslatorBagInterface Translator. Methods __construct(string $locale, MessageSelector $selector = null, string|null $cacheDir = null, bool $debug = false) Constructor. setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) Sets the ConfigCache factory to use. addLoader(string $format, LoaderInterface $loader) Adds a Loader. addResource(string $format, mixed $resource, string $locale, string $domain = null) A

Filesystem

class Filesystem Provides basic utility to manipulate the file system. Methods copy(string $originFile, string $targetFile, bool $overwriteNewerFiles = false) Copies a file. mkdir(string|array|Traversable $dirs, int $mode = 511) Creates a directory recursively. bool exists(string|array|Traversable $files) Checks the existence of files or directories. touch(string|array|Traversable $files, int $time = null, int $atime = null) Sets access and modification time of file.

Stopwatch::lap()

StopwatchEvent lap(string $name) Stops then restarts an event. Parameters string $name The event name Return Value StopwatchEvent A StopwatchEvent instance