EngineInterface

interface EngineInterface EngineInterface is the interface each engine must implement. All methods rely on a template name. A template name is a "logical" name for the template, and as such it does not refer to a path on the filesystem (in fact, the template can be stored anywhere, like in a database). The methods should accept any name. If the name is not an instance of TemplateReferenceInterface, a TemplateNameParserInterface should be used to convert the name to a TemplateReferenceInterfa

TwigExtractor

class TwigExtractor extends AbstractFileExtractor implements ExtractorInterface TwigExtractor extracts translation messages from a twig template. Methods __construct(Twig_Environment $twig) extract(string|array $resource, MessageCatalogue $catalogue) Extracts translation messages from files, a file or a directory to the catalogue. setPrefix(string $prefix) Sets the prefix that should be used for new found messages. Details __construct(Twig_Envi

ResponseHeaderBag::makeDisposition()

string makeDisposition(string $disposition, string $filename, string $filenameFallback = '') Generates a HTTP Content-Disposition field-value. Parameters string $disposition One of "inline" or "attachment" string $filename A unicode string string $filenameFallback A string containing only ASCII characters that is semantically equivalent to $filename. If the filename is already ASCII, it can be omitted, or just copied from $filename Return Value string A string suitable for use

FilesystemLoader

class FilesystemLoader implements LoaderInterface FilesystemLoader is a loader that read templates from the filesystem. Methods __construct(FileLocatorInterface $locator) Constructor. Storage|bool load(TemplateReferenceInterface $template) Loads a template. bool isFresh(TemplateReferenceInterface $template, int $time) Returns true if the template is still fresh. Details __construct(FileLocatorInterface $locator) Constructor. Parame

AbstractProxy::getSaveHandlerName()

string getSaveHandlerName() Gets the session.save_handler name. Return Value string

DigestAuthenticationEntryPoint

class DigestAuthenticationEntryPoint implements AuthenticationEntryPointInterface DigestAuthenticationEntryPoint starts an HTTP Digest authentication. Methods __construct($realmName, $secret, $nonceValiditySeconds = 300, LoggerInterface $logger = null) Response start(Request $request, AuthenticationException $authException = null) Returns a response that directs the user to authenticate. string getSecret() string getRealmName() Details _

FormDataCollectorInterface::buildFinalFormTree()

buildFinalFormTree(FormInterface $form, FormView $view) Assembles the data collected about the given form and its children as a tree-like data structure. The result can be queried using {@link getData()}. Contrary to {@link buildPreliminaryFormTree()}, a {@link FormView} object has to be passed. The tree structure of this view object will be used for structuring the resulting data. That means, if a child is present in the view, but not in the form, it will be present in the final dat

MessageCatalogue::has()

bool has(string $id, string $domain = 'messages') Checks if a message has a translation. Parameters string $id The message id string $domain The domain name Return Value bool true if the message has a translation, false otherwise

UnixPipes::haveReadSupport()

bool haveReadSupport() Returns if pipes are able to read output. Return Value bool

ClassMetadataFactory deprecated

class ClassMetadataFactory extends LazyLoadingMetadataFactory deprecated since version 2.5, to be removed in 3.0. Use {@link LazyLoadingMetadataFactory} instead. Alias of {@link LazyLoadingMetadataFactory}. Methods __construct(LoaderInterface $loader = null, CacheInterface $cache = null) Creates a new metadata factory. from LazyLoadingMetadataFactory MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. from LazyLoadingMetadataFactory bool h