Skip to content
This repository

Aug 17, 2012

  1. Tobias Schultze

    [HttpFoundation] fixed undefined offset for assoc arrays in HeaderBag

    Tobion authored

May 15, 2012

  1. Fabien Potencier

    fixed phpdoc @param alignment

    fabpot authored

Mar 24, 2012

  1. Artyom Protaskin

    HttpFoundation\HeaderBag Little improvement.

    gatsu authored

Mar 23, 2012

  1. Fabien Potencier

    [HttpFoundation] fixed phpdoc

    fabpot authored

Mar 15, 2012

  1. Chris Boden

    [HttpFoundation] SPL IteratorAggregate+Countable on *Bags

    Added the IteratorAggregate and Countable SPL Interfaces on all the *Bag classes in HttpFoundation
    cboden authored

Jul 20, 2011

  1. Fabien Potencier

    [HttpFoundation] tagged public @api

    fabpot authored

Jul 11, 2011

  1. Francis Besset

    Moved managing cookies of HeaderBag in ResponseHeaderBag

    By example, a cookie can't be set in a request

Jul 05, 2011

  1. Fabien Potencier

    removed usage of preg_match with the 'e' modifier

    fabpot authored

May 15, 2011

  1. Fabien Potencier

    [HttpFoundation] force headers to be sorted in HeaderBag::__toString()

    fabpot authored
  2. Fabien Potencier

    [HttpFoundation] fixed a warning

    fabpot authored
  3. Fabien Potencier

    [HttpFoundation] tweaked HeaderBag::__toString() to ease debugging

    fabpot authored
  4. Fabien Potencier

    [HttpFoundation] added HeaderBag::__toString()

    fabpot authored

Apr 26, 2011

  1. Victor Berchet

    Make casting scalar to array consistent

    vicb authored

Mar 06, 2011

  1. Fabien Potencier

    replaced by

    fabpot authored

Feb 27, 2011

  1. Pascal Borreli

    [HttpFoundation] Removed useless else

    pborreli authored

Feb 12, 2011

  1. Hugo Hamon

    [HttpFoundation] fixed phpdoc

    hhamon authored fabpot committed

Jan 31, 2011

  1. Fabien Potencier

    [HttpFoundation] made small optimizations

    fabpot authored

Jan 23, 2011

  1. Bulat Shakirzyanov

    [HttFoundation] extracted FileBag, ServerBag, fixed HeaderBag::add(),…

    … updated Request test
    avalanche123 authored fabpot committed

Jan 18, 2011

  1. blue-eyes

    normalized license messages in PHP files

    blue-eyes authored fabpot committed

Jan 15, 2011

  1. Johannes

    better support for cookie handling, use native PHP function to set co…

    schmittjoh authored fabpot committed

Nov 25, 2010

  1. Fabien Potencier

    made some method name changes to have a better coherence throughout t…

    …he framework
    When an object has a "main" many relation with related "things" (objects,
    parameters, ...), the method names are normalized:
     * get()
     * set()
     * all()
     * replace()
     * remove()
     * clear()
     * isEmpty()
     * add()
     * register()
     * count()
     * keys()
    The classes below follow this method naming convention:
     * BrowserKit\CookieJar -> Cookie
     * BrowserKit\History -> Request
     * Console\Application -> Command
     * Console\Application\Helper\HelperSet -> HelperInterface
     * DependencyInjection\Container -> services
     * DependencyInjection\ContainerBuilder -> services
     * DependencyInjection\ParameterBag\ParameterBag -> parameters
     * DependencyInjection\ParameterBag\FrozenParameterBag -> parameters
     * DomCrawler\Form -> FormField
     * EventDispatcher\Event -> parameters
     * Form\FieldGroup -> Field
     * HttpFoundation\HeaderBag -> headers
     * HttpFoundation\ParameterBag -> parameters
     * HttpFoundation\Session -> attributes
     * HttpKernel\Profiler\Profiler -> DataCollectorInterface
     * Routing\RouteCollection -> Route
     * Security\Authentication\AuthenticationProviderManager -> AuthenticationProviderInterface
     * Templating\Engine -> HelperInterface
     * Translation\MessageCatalogue -> messages
    The usage of these methods are only allowed when it is clear that there is a
    main relation:
     * a CookieJar has many Cookies;
     * a Container has many services and many parameters (as services is the main
       relation, we use the naming convention for this relation);
     * a Console Input has many arguments and many options. There is no "main"
       relation, and so the naming convention does not apply.
    For many relations where the convention does not apply, the following methods
    must be used instead (where XXX is the name of the related thing):
     * get()      -> getXXX()
     * set()      -> setXXX()
     * all()      -> getXXXs()
     * replace()  -> setXXXs()
     * remove()   -> removeXXX()
     * clear()    -> clearXXX()
     * isEmpty()  -> isEmptyXXX()
     * add()      -> addXXX()
     * register() -> registerXXX()
     * count()    -> countXXX()
     * keys()
    fabpot authored

Nov 21, 2010

  1. Thibault Duplessis

    [HttpFoundation] Rename HeaderBag::validateCookieName to HeaderBag::v…

    ornicar authored fabpot committed

Nov 18, 2010

  1. Fabien Potencier

    changed Cache-Control default value behavior

    The PHP native cache limiter feature has been disabled as this is now managed
    by the HeaderBag class directly instead (see below.)
    The HeaderBag class uses the following rules to define a sensible and
    convervative default value for the Response 'Cache-Control' header:
     * If no cache header is defined ('Cache-Control', 'ETag', 'Last-Modified',
       and 'Expires'), 'Cache-Control' is set to 'no-cache';
     * If 'Cache-Control' is empty, its value is set to "private, max-age=0,
     * But if at least one 'Cache-Control' directive is set, and no 'public' or
       'private' directives have been explicitely added, Symfony2 adds the
       'private' directive automatically (except when 's-maxage' is set.)
    So, remember to explicitly add the 'public' directive to 'Cache-Control' when
    you want shared caches to store your application resources:
        // The Response is private by default
        // Change the Response to be public
        // Set cache settings in one call
            'etag'          => $etag,
            'last_modified' => $date,
            'max_age'       => 10,
            'public'        => true,
    fabpot authored

Nov 03, 2010

  1. Johannes

    fixes a bug where in most cases cookies with path / were not set prop…

    schmittjoh authored fabpot committed

Oct 28, 2010

  1. Jean-François PHILIPPE

    [HttpFoundation] updated get() signature to get($key, $default = null…

    …, $first = true)
    This is more consistent with the get() method of ParameterBag
    jfphilippe authored fabpot committed

Oct 18, 2010

  1. Kris Wallsmith

    Removed all those spaces after @author that were bothering me so…

    kriswallsmith authored fabpot committed

Aug 26, 2010

  1. Fabien Potencier

    [HttpFoundation] added a keys() method to *Bag classes

    fabpot authored

Aug 20, 2010

  1. Fabien Potencier

    renamed Symfony\Components to Symfony\Component

    fabpot authored
Something went wrong with that request. Please try again.