PropertyNormalizer

class PropertyNormalizer extends AbstractObjectNormalizer Converts between objects and arrays by mapping properties. The normalization process looks for all the object's properties (public and private). The result is a map from property names to property values. Property values are normalized through the serializer. The denormalization first looks at the constructor of the given class to see if any of the parameters have the same name as one of the properties. The constructor is then called

Application

class Application An Application is the container for a collection of commands. It is the main entry point of a Console application. This class is optimized for a standard CLI environment. Usage: $app = new Application('myapp', '1.0 (stable)'); $app->add(new SimpleCommand()); $app->run(); Methods __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN') Constructor. setDispatcher(EventDispatcherInterface $dispatcher) int run(InputInterface $input = null, Output

ObjectChoiceList deprecated

class ObjectChoiceList extends ChoiceList deprecated since Symfony 2.7, to be removed in version 3.0. Use {@link \Symfony\Component\Form\ChoiceList\ArrayChoiceList} instead. A choice list for object choices. Supports generation of choice labels, choice groups and choice values by calling getters of the object (or associated objects). $choices = array($user1, $user2); // call getName() to determine the choice labels $choiceList = new ObjectChoiceList($choices, 'name'); Methods __con

Input

class Input implements InputInterface Input is the base class for all concrete Input classes. Three concrete classes are provided by default: ArgvInput: The input comes from the CLI arguments (argv) StringInput: The input is provided as a string ArrayInput: The input is provided as an array Methods __construct(InputDefinition $definition = null) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. validate() Va

Ssi

class Ssi implements SurrogateInterface Ssi implements the SSI capabilities to Request and Response instances. Methods __construct(array $contentTypes = array('text/html', 'text/xml', 'application/xhtml+xml', 'application/xml')) Constructor. string getName() Returns surrogate name. ResponseCacheStrategyInterface createCacheStrategy() Returns a new cache strategy instance. bool hasSurrogateCapability(Request $request) Checks that at least one surrogate has Surrogate capabil