PrototypedArrayNode::setAddChildrenIfNoneSet()

setAddChildrenIfNoneSet(int|string|array|null $children = array('defaults')) Adds default children when none are set. Parameters int|string|array|null $children The number of children|The child name|The children names to be added

LanguageDataGenerator

class LanguageDataGenerator extends AbstractDataGenerator The rule for compiling the language bundle. Methods __construct(GenrbCompiler $compiler, $dirName) from AbstractDataGenerator generateData(GeneratorConfig $config) {@inheritdoc} from AbstractDataGenerator Details __construct(GenrbCompiler $compiler, $dirName) Parameters GenrbCompiler $compiler $dirName generateData(GeneratorConfig $config)

LocaleScanner::scanLocales()

array scanLocales(string $sourceDir) Returns all locales found in the given directory. Parameters string $sourceDir The directory with ICU files Return Value array An array of locales. The result also contains locales that are in fact just aliases for other locales. Use {@link scanAliases()} to determine which of the locales are aliases

FormRegistryInterface::getExtensions()

FormExtensionInterface[] getExtensions() Returns the extensions loaded by the framework. Return Value FormExtensionInterface[]

StubCaster::cutInternals()

static cutInternals($obj, array $a, Stub $stub, $isNested) Parameters $obj array $a Stub $stub $isNested

ControllerNameParser::parse()

string parse(string $controller) Converts a short notation a:b:c to a class::method. Parameters string $controller A short notation controller (a:b:c) Return Value string A string in the class::method notation Exceptions InvalidArgumentException when the specified bundle is not enabled or the controller cannot be found

Request::getHost()

string getHost() Returns the host name. This method can read the client host name from the "X-Forwarded-Host" header when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-Host" header must contain the client host name. If your reverse proxy uses a different header name than "X-Forwarded-Host", configure it via "setTrustedHeaderName()" with the "client-host" key. Return Value string Exceptions UnexpectedValueException when the host name is invalid

Form::isDisabled()

bool isDisabled() Returns whether this form is disabled. The content of a disabled form is displayed, but not allowed to be modified. The validation of modified disabled forms should fail. Forms whose parents are disabled are considered disabled regardless of their own state. Return Value bool

LazyLoadingFragmentHandler::addRendererService()

addRendererService(string $name, string $renderer) Adds a service as a fragment renderer. Parameters string $name The service name string $renderer The render service id

Profile::getCollectors()

DataCollectorInterface[] getCollectors() Gets the Collectors associated with this profile. Return Value DataCollectorInterface[]