BaseNode::setNormalizationClosures()

setNormalizationClosures(array $closures) Sets the closures used for normalization. Parameters array $closures An array of Closures used for normalization

RegistryInterface::getEntityNamespace()

string getEntityNamespace(string $alias) Resolves a registered namespace alias to the full namespace. This method looks for the alias in all registered entity managers. Parameters string $alias The alias Return Value string The full namespace See also Configuration::getEntityNamespace

ExpressionVoter::vote()

int vote(TokenInterface $token, mixed $subject, array $attributes) Returns the vote for the given parameters. This method must return one of the following constants: ACCESSGRANTED, ACCESSDENIED, or ACCESS_ABSTAIN. Parameters TokenInterface $token A TokenInterface instance mixed $subject The subject to secure array $attributes An array of attributes associated with the method being invoked Return Value int either ACCESSGRANTED, ACCESSABSTAIN, or ACCESS_DENIED

CodeHelper::fileExcerpt()

string fileExcerpt(string $file, int $line) Returns an excerpt of a code file around the given line number. Parameters string $file A file path int $line The selected line number Return Value string An HTML string

BufferedBundleReader::getLocales()

string[] getLocales(string $path) Reads the available locales of a resource bundle. Parameters string $path The path to the resource bundle. Return Value string[] A list of supported locale codes.

Definition::clearTag()

Definition clearTag(string $name) Clears all tags for a given name. Parameters string $name The tag name Return Value Definition

BooleanNode

class BooleanNode extends ScalarNode This node represents a Boolean value in the config tree. Methods __construct(string $name, NodeInterface $parent = null) Constructor. from BaseNode setAttribute($key, $value) from BaseNode getAttribute($key, $default = null) from BaseNode hasAttribute($key) from BaseNode getAttributes() from BaseNode setAttributes(array $attributes) from BaseNode removeAttribute($key) from BaseNode setInfo(string $info) Sets an info m

Locale

class Locale extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NO_SUCH_LOCALE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message Methods static

CacheItem::log()

static log(LoggerInterface $logger = null, $message, $context = array()) Internal logging helper. Parameters LoggerInterface $logger $message $context

Acl::isFieldGranted()

bool isFieldGranted(string $field, array $masks, array $securityIdentities, bool $administrativeMode = false) Determines whether field access is granted Parameters string $field array $masks array $securityIdentities bool $administrativeMode Return Value bool