ServerParams

class ServerParams Methods __construct(RequestStack $requestStack = null) bool hasPostMaxSizeBeenExceeded() Returns true if the POST max size has been exceeded in the request. null|int getPostMaxSize() Returns maximum post size in bytes. string getNormalizedIniPostMaxSize() Returns the normalized "postmaxsize" ini setting. mixed getContentLength() Returns the content length of the request. Details __construct(RequestStack $requestStack

ServerParams

class ServerParams extends ServerParams Methods __construct(RequestStack $requestStack = null) from ServerParams null|int getPostMaxSize() Returns maximum post size in bytes. from ServerParams string getNormalizedIniPostMaxSize() Returns the normalized "postmaxsize" ini setting. from ServerParams mixed getContentLength() Returns the content length of the request. from ServerParams Details __construct(RequestStack $requestStack = null)

ServerCommand

class ServerCommand extends ContainerAwareCommand Base methods for commands related to PHP's built-in web server. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set.

ServerBag

class ServerBag extends ParameterBag ServerBag is a container for HTTP headers from the $_SERVER variable. Methods __construct(array $parameters = array()) Constructor. from ParameterBag array all() Returns the parameters. from ParameterBag array keys() Returns the parameter keys. from ParameterBag replace(array $parameters = array()) Replaces the current parameters by a new set. from ParameterBag add(array $parameters = array()) Adds parameters. from ParameterBag mixed

SerializerPass

class SerializerPass implements CompilerPassInterface Adds all services with the tags "serializer.encoder" and "serializer.normalizer" as encoders and normalizers to the Serializer service. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $co

SerializerInterface::serialize()

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

SerializerInterface::deserialize()

object deserialize(mixed $data, string $type, string $format, array $context = array()) Deserializes data into the given type. Parameters mixed $data string $type string $format array $context Return Value object

SerializerInterface

interface SerializerInterface Defines the interface of the Serializer. Methods string serialize(mixed $data, string $format, array $context = array()) Serializes data in the appropriate format. object deserialize(mixed $data, string $type, string $format, array $context = array()) Deserializes data into the given type. Details string serialize(mixed $data, string $format, array $context = array()) Serializes data in the appropriate format.

SerializerExtractor

class SerializerExtractor implements PropertyListExtractorInterface Lists available properties using Symfony Serializer Component metadata. Methods __construct(ClassMetadataFactoryInterface $classMetadataFactory) string[]|null getProperties(string $class, array $context = array()) Gets the list of properties available for the given class. Details __construct(ClassMetadataFactoryInterface $classMetadataFactory) Parameters ClassMetadataFac

SerializerAwareTrait

trait SerializerAwareTrait SerializerAware trait. Methods setSerializer(SerializerInterface $serializer) Sets the serializer. Details setSerializer(SerializerInterface $serializer) Sets the serializer. Parameters SerializerInterface $serializer A SerializerInterface instance