Skip to content

Commit

Permalink
Move secion "binaryFormat" to the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse authored and Jérémy Derussé committed Jun 24, 2014
1 parent 71fdd60 commit 7dcd7c3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions reference/constraints/File.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,22 +152,6 @@ have been specified.
Options
-------

.. versionadded:: 2.6
The ``binaryFormat`` option was introduced in Symfony 2.6.

binaryFormat
~~~~~~~~~~~~

**type**: ``boolean`` **default**: ``null``

When ``true``, the sizes will be displayed in messages with binary suffixes
(KiB, MiB). When ``false``, the sizes will be displayed with SI suffixes (kB,
MB). When ``null``, then the binaryFormat will be guessed from the suffix
defined in the maxSize option.

For more information about the difference between binary and SI suffixes,
see `Wikipedia: Binary prefix`_.

maxSize
~~~~~~~

Expand All @@ -194,6 +178,22 @@ to be valid. The size of the file can be given in one of the following formats:
For more information about the difference between binary and SI suffixes,
see `Wikipedia: Binary prefix`_.

binaryFormat
~~~~~~~~~~~~

.. versionadded:: 2.6
The ``binaryFormat`` option was introduced in Symfony 2.6.

**type**: ``boolean`` **default**: ``null``

When ``true``, the sizes will be displayed in messages with binary suffixes
(KiB, MiB). When ``false``, the sizes will be displayed with SI suffixes (kB,
MB). When ``null``, then the binaryFormat will be guessed from the suffix
defined in the maxSize option.

For more information about the difference between binary and SI suffixes,
see `Wikipedia: Binary prefix`_.

mimeTypes
~~~~~~~~~

Expand Down

0 comments on commit 7dcd7c3

Please sign in to comment.