LazyLoadingFragmentHandler

class LazyLoadingFragmentHandler extends FragmentHandler Lazily loads fragment renderers from the dependency injection container. Methods __construct(ContainerInterface $container, RequestStack $requestStack, bool $debug = false) Constructor. addRenderer(FragmentRendererInterface $renderer) Adds a renderer. from FragmentHandler string|null render(string|ControllerReference $uri, string $renderer = 'inline', array $options = array()) Renders a URI and returns the Response content

RegisterMappingsPass

class RegisterMappingsPass implements CompilerPassInterface Base class for the doctrine bundles to provide a compiler pass class that helps to register doctrine mappings. The compiler pass is meant to register the mappings with the metadata chain driver corresponding to one of the object managers. For concrete implementations that are easy to use, see the RegisterXyMappingsPass classes in the DoctrineBundle resp. DoctrineMongodbBundle, DoctrineCouchdbBundle and DoctrinePhpcrBundle. Methods

BufferingLogger

class BufferingLogger extends AbstractLogger A buffering logger that stacks logs for later. Methods log($level, $message, array $context = array()) cleanLogs() Details log($level, $message, array $context = array()) Parameters $level $message array $context cleanLogs()

ArrayInput::getParameterOption()

mixed getParameterOption(string|array $values, mixed $default = false, bool $onlyParams = false) Returns the value of a raw option (not parsed). This method is to be used to introspect the input parameters before they have been validated. It must be used carefully. Parameters string|array $values The value(s) to look for in the raw parameters (can be an array) mixed $default The default value to return if no result is found bool $onlyParams Only check real parameters, skip thos

FunctionExtension::translateLang()

XPathExpr translateLang(XPathExpr $xpath, FunctionNode $function) Parameters XPathExpr $xpath FunctionNode $function Return Value XPathExpr Exceptions ExpressionErrorException

PhpEngine::setHelpers()

setHelpers(array $helpers) Sets the helpers. Parameters array $helpers An array of helper

InputInterface::getArgument()

mixed getArgument(string $name) Returns the argument value for a given argument name. Parameters string $name The argument name Return Value mixed The argument value Exceptions InvalidArgumentException When argument given doesn't exist

ClassMetadataFactory

class ClassMetadataFactory implements ClassMetadataFactoryInterface Returns a {@link ClassMetadata}. Traits ClassResolverTrait Resolves a class name. Methods __construct(LoaderInterface $loader, Cache $cache = null) ClassMetadataInterface getMetadataFor(string|object $value) If the method was called with the same class name (or an object of that class) before, the same metadata instance is returned. bool hasMetadataFor(mixed $value) Checks if class has metadata. Deta

ContainerBuilder::addClassResource()

ContainerBuilder addClassResource(ReflectionClass $class) Adds the given class hierarchy as resources. Parameters ReflectionClass $class Return Value ContainerBuilder The current instance

PropelTypeGuesser::guessPattern()

ValueGuess|null guessPattern(string $class, string $property) Returns a guess about the field's pattern When you have a min value, you guess a min length of this min (LOW_CONFIDENCE) , lines below If this value is a float type, this is wrong so you guess null with MEDIUM_CONFIDENCE to override the previous guess. Example: You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5) Parameters string $class The fully qualified class name string $p