EngineInterface

interface EngineInterface implements EngineInterface EngineInterface is the interface each engine must implement. Methods string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. from EngineInterface bool exists(string|TemplateReferenceInterface $name) Returns true if the template exists. from EngineInterface bool supports(string|TemplateReferenceInterface $name) Returns true if this class is able to render the given template. from

EncoderAwareInterface

interface EncoderAwareInterface Methods string getEncoderName() Gets the name of the encoder used to encode the password. Details string getEncoderName() Gets the name of the encoder used to encode the password. If the method returns null, the standard way to retrieve the encoder will be used instead. Return Value string

EncoderFactoryInterface

interface EncoderFactoryInterface EncoderFactoryInterface to support different encoders for different accounts. Methods PasswordEncoderInterface getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. Details PasswordEncoderInterface getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. Parameters UserInterface|string $user A UserInterface instance or a cla

EncoderFactory

class EncoderFactory implements EncoderFactoryInterface A generic encoder factory implementation. Methods __construct(array $encoders) PasswordEncoderInterface getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. Details __construct(array $encoders) Parameters array $encoders PasswordEncoderInterface getEncoder(UserInterface|string $user) Returns the

EmptyVersionStrategy::getVersion()

string getVersion(string $path) Returns the asset version for an asset. Parameters string $path A path Return Value string The version string

EncoderInterface

interface EncoderInterface Defines the interface of encoders. Methods scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Details scalar encode(mixed $data, string $format, array $context = array()) Encodes data into the given format. Parameters mixed $data Data to encode string $format Form

EmptyVersionStrategy::applyVersion()

string applyVersion(string $path) Applies version to the supplied path. Parameters string $path A path Return Value string The versionized path

EmptyVersionStrategy

class EmptyVersionStrategy implements VersionStrategyInterface Disable version for all assets. Methods string getVersion(string $path) Returns the asset version for an asset. string applyVersion(string $path) Applies version to the supplied 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 applyVe

EmailValidator

class EmailValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator __construct($strict = false) validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Details

EmailType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name