Ssi::addSurrogateControl()

addSurrogateControl(Response $response) Adds HTTP headers to specify that the Response needs to be parsed for Surrogate. This method only adds an Surrogate HTTP header if the Response has some Surrogate tags. Parameters Response $response A Response instance

LdapUserProvider

class LdapUserProvider implements UserProviderInterface LdapUserProvider is a simple user provider on top of ldap. Methods __construct(LdapInterface $ldap, string $baseDn, string $searchDn = null, string $searchPassword = null, array $defaultRoles = array(), string $uidKey = 'sAMAccountName', string $filter = '({uid_key}={username})', string $passwordAttribute = null) UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refres

RequestStackContext::getBasePath()

string getBasePath() Gets the base path. Return Value string The base path

PackageInterface

interface PackageInterface Asset package interface. Methods string getVersion(string $path) Returns the asset version for an asset. string getUrl(string $path) Returns an absolute or root-relative public path. Details string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string string getUrl(string $path) Returns an

Scope::has()

bool has(string $key) Tests if a data is visible from current scope. Parameters string $key Return Value bool

ResourceCaster

class ResourceCaster Casts common resource types to array representation. Methods static castCurl($h, array $a, Stub $stub, $isNested) static castDba($dba, array $a, Stub $stub, $isNested) static castProcess($process, array $a, Stub $stub, $isNested) static castStream($stream, array $a, Stub $stub, $isNested) static castStreamContext($stream, array $a, Stub $stub, $isNested) static castGd($gd, array $a, Stub $stub, $isNested) static castMysqlLink($h, a

RequestContext::setScheme()

RequestContext setScheme(string $scheme) Sets the HTTP scheme. Parameters string $scheme The HTTP scheme Return Value RequestContext The current instance, implementing a fluent interface

NativeSessionStorage::start()

bool start() Starts the session. Return Value bool True if started Exceptions RuntimeException If something goes wrong starting the session.

ClassMapGenerator

class ClassMapGenerator ClassMapGenerator. Methods static dump(array|string $dirs, string $file) Generate a class map file. static array createMap(Iterator|string $dir) Iterate over all files in the given directory searching for classes. Details static dump(array|string $dirs, string $file) Generate a class map file. Parameters array|string $dirs Directories or a single path to search in string $file The name of the class map file

Intl

class Intl Gives access to internationalization data. Constants BUFFER_SIZE The number of resource bundles to buffer. Loading the same resource bundle for n locales takes up n spots in the buffer. CURRENCY_DIR The directory name of the currency data. LANGUAGE_DIR The directory name of the language data. SCRIPT_DIR The directory name of the script data. LOCALE_DIR The directory name of the locale data. REGION_DIR The directory name of the region data. Methods static bool