You are here

public function FileTest::provideFormats in Plug 7

Return value

array

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/FileTest.php, line 93

Class

FileTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function provideFormats() {
  return array(
    array(
      100,
      null,
      false,
    ),
    array(
      100,
      true,
      true,
    ),
    array(
      100,
      false,
      false,
    ),
    array(
      '100K',
      null,
      false,
    ),
    array(
      '100K',
      true,
      true,
    ),
    array(
      '100K',
      false,
      false,
    ),
    array(
      '100Ki',
      null,
      true,
    ),
    array(
      '100Ki',
      true,
      true,
    ),
    array(
      '100Ki',
      false,
      false,
    ),
  );
}