You are here

public function FileTest::provideFormats in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/FileTest.php \Symfony\Component\Validator\Tests\Constraints\FileTest::provideFormats()

Return value

array

File

vendor/symfony/validator/Tests/Constraints/FileTest.php, line 138

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,
    ),
  );
}