TranslatorInterface

interface TranslatorInterface TranslatorInterface. Methods string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given choice message by choosing a translation according to a number. setLocale(string $locale) Sets the current locale. string getLoc

Process::setInput()

Process setInput(resource|scalar|Traversable|null $input) Sets the input. This content will be passed to the underlying process standard input. Parameters resource|scalar|Traversable|null $input The content Return Value Process The current Process instance Exceptions LogicException In case the process is running

MappingRule::match()

null|FormInterface match(string $propertyPath) Matches a property path against the rule path. If the rule matches, the form mapped by the rule is returned. Otherwise this method returns false. Parameters string $propertyPath The property path to match against the rule Return Value null|FormInterface The mapped form or null

AutowireServiceResource::getResource()

getResource() deprecated deprecated Implemented for compatibility with Symfony 2.8

DebugCommand

class DebugCommand extends DebugCommand implements ContainerAwareInterface Lists twig functions, filters, globals and tests present in the current project. Traits ContainerAwareTrait ContainerAware trait. Methods __construct(string|null $name = 'debug:twig') Constructor. from DebugCommand ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperS

DbalSessionHandler

class DbalSessionHandler implements SessionHandlerInterface DBAL based session storage. This implementation is very similar to Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler but uses a Doctrine connection and thus also works with non-PDO-based drivers like mysqli and OCI8. Methods __construct(Connection $con, string $tableName = 'sessions') Constructor. open($savePath, $sessionName) {@inheritdoc} close() {@inheritdoc} destroy($sessionId) {@inher

FormConfigBuilder::getFormConfig()

FormConfigInterface getFormConfig() Builds and returns the form configuration. Return Value FormConfigInterface

FlashBagInterface

interface FlashBagInterface implements SessionBagInterface FlashBagInterface. Methods string getName() Gets this bag's name. from SessionBagInterface initialize(array $array) Initializes the Bag. from SessionBagInterface string getStorageKey() Gets the storage key for this bag. from SessionBagInterface mixed clear() Clears out data from bag. from SessionBagInterface add(string $type, string $message) Adds a flash message for type. set(string $type, string|array $mess

ApplicationDescription::getCommand()

Command getCommand(string $name) Parameters string $name Return Value Command Exceptions CommandNotFoundException

RoleSecurityIdentity::equals()

equals(SecurityIdentityInterface $sid) This method is used to compare two security identities in order to not rely on referential equality. Parameters SecurityIdentityInterface $sid