PostAuthenticationGuardToken::getCredentials()

mixed getCredentials() This is meant to be only an authenticated token, where credentials have already been used and are thus cleared. {@inheritdoc} Return Value mixed The user credentials

PostAuthenticationGuardToken

class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenInterface Used as an "authenticated" token, though it could be set to not-authenticated later. If you're using Guard authentication, you must use a class that implements GuardTokenInterface as your authenticated token (like this class). Methods __construct(UserInterface $user, string $providerKey, array $roles) RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername()

PoFileLoader

class PoFileLoader extends FileLoader Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. from FileLoader Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A MessageCatalogue instance Exceptions NotFoundResourceExcept

PoFileDumper

class PoFileDumper extends FileDumper PoFileDumper generates a gettext formatted string representation of a message catalogue. Methods setRelativePathTemplate(string $relativePathTemplate) Sets the template for the relative paths to files. from FileDumper setBackup(bool $backup) Sets backup flag. from FileDumper dump(MessageCatalogue $messages, array $options = array()) Dumps the message catalogue. from FileDumper string formatCatalogue(MessageCatalogue $messages, string $dom

PluralizationRules

class PluralizationRules Returns the plural rules for a given locale. Methods static int get(int $number, string $locale) Returns the plural position to use for the given locale and number. static set(callable $rule, string $locale) Overrides the default plural rule for a given locale. Details static int get(int $number, string $locale) Returns the plural position to use for the given locale and number. Parameters int $number The number s

PlaintextPasswordEncoder::isPasswordValid()

bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Parameters string $encoded An encoded password string $raw A raw password string $salt The salt Return Value bool true if the password is valid, false otherwise

PlaintextPasswordEncoder::encodePassword()

string encodePassword(string $raw, string $salt) Encodes the raw password. Parameters string $raw The password to encode string $salt The salt Return Value string The encoded password

PlaintextPasswordEncoder

class PlaintextPasswordEncoder extends BasePasswordEncoder PlaintextPasswordEncoder does not do any encoding. Constants MAX_PASSWORD_LENGTH Methods __construct(bool $ignorePasswordCase = false) Constructor. string encodePassword(string $raw, string $salt) Encodes the raw password. bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Details __construct(bool $ignorePasswordCase

PipesInterface::readAndWrite()

string[] readAndWrite(bool $blocking, bool $close = false) Reads data in file handles and pipes. Parameters bool $blocking Whether to use blocking calls or not bool $close Whether to close pipes if they've reached EOF Return Value string[] An array of read data indexed by their fd

PipesInterface::haveReadSupport()

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