PropelTypeGuesser::guessRequired()

ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess A guess for the field's required setting

HttpFoundationExtension

class HttpFoundationExtension extends AbstractExtension Integrates the HttpFoundation component with the Form library. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension Boolean hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension Boolean hasTypeExtensions(string $name) R

LocaleBundleInterface::getLocaleNames()

string[] getLocaleNames(string $displayLocale = null) Returns the names of all known locales. Parameters string $displayLocale Optional. The locale to return the names in Defaults to {@link \Locale::getDefault()}. Return Value string[] A list of locale names indexed by locale codes

LocaleBundleTransformationRule::beforeCompile()

string[] beforeCompile(CompilationContextInterface $context) Runs instructions to be executed before compiling the sources of the resource bundle. Parameters CompilationContextInterface $context The contextual information of the compilation. Return Value string[] The source directories/files of the bundle.

Output::setDecorated()

setDecorated(bool $decorated) Sets the decorated flag. Parameters bool $decorated Whether to decorate the messages

Profile::addCollector()

addCollector(DataCollectorInterface $collector) Adds a Collector. Parameters DataCollectorInterface $collector A DataCollectorInterface instance

PropertyMetadataInterface deprecated::getPropertyValue()

mixed getPropertyValue(mixed $containingValue) Extracts the value of the property from the given container. Parameters mixed $containingValue The container to extract the property value from. Return Value mixed The value of the property.

LocaleListener

class LocaleListener implements EventSubscriberInterface Initializes the locale based on the current request. Methods __construct(RequestStack $requestStack, string $defaultLocale = 'en', RequestContextAwareInterface $router = null) Constructor. onKernelRequest(GetResponseEvent $event) onKernelFinishRequest(FinishRequestEvent $event) static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details

HttpUtils::createRequest()

Request createRequest(Request $request, string $path) Creates a Request. Parameters Request $request The current Request instance string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo)) Return Value Request A Request instance

AclProviderInterface::findAcl()

AclInterface findAcl(ObjectIdentityInterface $oid, array $sids = array()) Returns the ACL that belongs to the given object identity Parameters ObjectIdentityInterface $oid array $sids Return Value AclInterface Exceptions AclNotFoundException when there is no ACL