private function AbstractDescriptorTest::getDescriptionTestData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php \Symfony\Component\Console\Tests\Descriptor\AbstractDescriptorTest::getDescriptionTestData()
5 calls to AbstractDescriptorTest::getDescriptionTestData()
- AbstractDescriptorTest::getDescribeApplicationTestData in vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php - AbstractDescriptorTest::getDescribeCommandTestData in vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php - AbstractDescriptorTest::getDescribeInputArgumentTestData in vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php - AbstractDescriptorTest::getDescribeInputDefinitionTestData in vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php - AbstractDescriptorTest::getDescribeInputOptionTestData in vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php
File
- vendor/
symfony/ console/ Tests/ Descriptor/ AbstractDescriptorTest.php, line 88
Class
Namespace
Symfony\Component\Console\Tests\DescriptorCode
private function getDescriptionTestData(array $objects) {
$data = array();
foreach ($objects as $name => $object) {
$description = file_get_contents(sprintf('%s/../Fixtures/%s.%s', __DIR__, $name, $this
->getFormat()));
$data[] = array(
$object,
$description,
);
}
return $data;
}