Skip to content
Browse files

Add versionAdded on binary suffix

  • Loading branch information...
jderusse committed Jun 24, 2014
1 parent b414f5c commit 77a0687f3f2ca2a9aed57984d0fc0d73801317b1
Showing with 4 additions and 1 deletion.
  1. +4 −1 reference/constraints/File.rst
@@ -154,6 +154,9 @@ Options

.. versionadded:: 2.6
The suffixes ``Ki`` and ``Mi`` were introduced in Symfony 2.6.

**type**: ``mixed``

If set, the size of the underlying file must be below this file size in order
@@ -188,7 +191,7 @@ binaryFormat
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.
defined in the ``maxSize`` option.

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

0 comments on commit 77a0687

Please sign in to comment.
You can’t perform that action at this time.