HashNode

class HashNode extends AbstractNode Represents a "#" node. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() from AbstractNode __construct(NodeInterface $selector, string $id) NodeInterface getSelector() string getId() Specificity getSpecificity() Returns node's specificity. string __toString() Returns node's string representation. Details

ReflectionCaster

class ReflectionCaster Casts Reflector related classes to array representation. Methods static castClosure(Closure $c, array $a, Stub $stub, $isNested) static castGenerator(Generator $c, array $a, Stub $stub, $isNested) static castType(ReflectionType $c, array $a, Stub $stub, $isNested) static castReflectionGenerator(ReflectionGenerator $c, array $a, Stub $stub, $isNested) static castClass(ReflectionClass $c, array $a, Stub $stub, $isNested, $filter) static

ExpressionLanguageProvider

class ExpressionLanguageProvider implements ExpressionFunctionProviderInterface Define some ExpressionLanguage functions. To get a service, use service('request'). To get a parameter, use parameter('kernel.debug'). Methods ExpressionFunction[] getFunctions() Details ExpressionFunction[] getFunctions() Return Value ExpressionFunction[] An array of Function instances

NumberToLocalizedStringTransformer

class NumberToLocalizedStringTransformer implements DataTransformerInterface Transforms between a number type and a localized number with grouping (each thousand) and comma separators. Constants ROUND_CEILING Rounds a number towards positive infinity. Rounds 1.4 to 2 and -1.4 to -1. ROUND_FLOOR Rounds a number towards negative infinity. Rounds 1.4 to 1 and -1.4 to -2. ROUND_UP Rounds a number away from zero. Rounds 1.4 to 2 and -1.4 to -2. ROUND_DOWN Rounds a number towards zero. Rou

ParameterBag

class ParameterBag implements ParameterBagInterface Holds parameters. Methods __construct(array $parameters = array()) clear() Clears all parameters. add(array $parameters) Adds parameters to the service container parameters. array all() Gets the service container parameters. mixed get(string $name) Gets a service container parameter. set(string $name, mixed $value) Sets a service container parameter. bool has(string $name) Returns true if a parameter name

Package::getUrl()

string getUrl(string $path) Returns an absolute or root-relative public path. Parameters string $path A path Return Value string The public path

SessionInterface::has()

bool has(string $name) Checks if an attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

CollectionType

class CollectionType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template block name for this type. string|

Form::getConfig()

FormConfigInterface getConfig() Returns the form's configuration. Return Value FormConfigInterface The configuration

NodeBuilder::scalarNode()

ScalarNodeDefinition scalarNode(string $name) Creates a child scalar node. Parameters string $name the name of the node Return Value ScalarNodeDefinition The child node