ArrayDenormalizer

class ArrayDenormalizer implements DenormalizerInterface, SerializerAwareInterface Denormalizes arrays of objects. Methods object denormalize(mixed $data, string $class, string $format = null, array $context = array()) Denormalizes data back into an object of the given class. bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. setSerializer(SerializerInterface $seriali

SplCaster

class SplCaster Casts SPL related classes to array representation. Methods static castArrayObject(ArrayObject $c, array $a, Stub $stub, $isNested) static castHeap(Iterator $c, array $a, Stub $stub, $isNested) static castDoublyLinkedList(SplDoublyLinkedList $c, array $a, Stub $stub, $isNested) static castFileInfo(SplFileInfo $c, array $a, Stub $stub, $isNested) static castFileObject(SplFileObject $c, array $a, Stub $stub, $isNested) static castFixedArray(SplF

FileinfoMimeTypeGuesser

class FileinfoMimeTypeGuesser implements MimeTypeGuesserInterface Guesses the mime type using the PECL extension FileInfo. Methods __construct(string $magicFile = null) Constructor. static bool isSupported() Returns whether this guesser is supported on the current OS/PHP setup. string guess(string $path) Guesses the mime type of the file with the given path. Details __construct(string $magicFile = null) Constructor. Parameters stri

Component\Security\Csrf\TokenStorage

Classes NativeSessionTokenStorage Token storage that uses PHP's native session handling. SessionTokenStorage Token storage that uses a Symfony2 Session object. Interfaces TokenStorageInterface Stores CSRF tokens.

RequestDataCollector::getResponseHeaders()

getResponseHeaders()

UserPasswordEncoderInterface::isPasswordValid()

bool isPasswordValid(UserInterface $user, string $raw) Parameters UserInterface $user The user string $raw A raw password Return Value bool true if the password is valid, false otherwise

ValueToDuplicatesTransformer

class ValueToDuplicatesTransformer implements DataTransformerInterface Methods __construct(array $keys) mixed transform(mixed $value) Duplicates the given value through the array. mixed reverseTransform(array $array) Extracts the duplicated value from an array. Details __construct(array $keys) Parameters array $keys mixed transform(mixed $value) Duplicates the given value through the array.

Bundle\FrameworkBundle\CacheWarmer

Classes RouterCacheWarmer Generates the router matcher and generator classes. TemplateFinder Finds all the templates. TemplatePathsCacheWarmer Computes the association between template names and their paths on the disk. Interfaces TemplateFinderInterface Interface for finding all the templates.

Serializer::serialize()

final string serialize(mixed $data, string $format, array $context = array()) Serializes data in the appropriate format. Parameters mixed $data any data string $format format name array $context options normalizers/encoders have access to Return Value string

Response

class Response Response object. Methods __construct(string $content = '', int $status = 200, array $headers = array()) Constructor. string __toString() Converts the response object to string containing all headers and the response content. string getContent() Gets the response content. int getStatus() Gets the response status code. array getHeaders() Gets the response headers. string|array getHeader(string $header, bool $first = true) Gets a response header.