fdisk -l or lsblk to identify disks
Determine the main disk where /boot partition will reside. We need two partitions: the one for /boot and the other for LVM group.
Open partitioning tool fdisk /dev/sda
| <?php | |
| /** @var Connection[] $connections */ | |
| $connections = $doctrine->getConnections(); | |
| foreach ($connections as $connection) { | |
| if ('pdo_sqlite' !== $connection->getDriver()->getName()) { | |
| throw new \RuntimeException('Meaningful message here'); | |
| } | |
| } |
| Given I store the "id" property of "category_tools" as "category_tools_id" | |
| When I send a "POST" request to "/products/" with body: | |
| """ | |
| { | |
| "name": "Super cool drill", | |
| "price": 249.99, | |
| "category": category_tools_id | |
| } | |
| """ |
| When I send a "POST" request to "/products/" with body: | |
| """ | |
| { | |
| "name": "Super cool drill", | |
| "price": 249.99, | |
| "category": {{ category_tools.id }} | |
| } | |
| """ |
| <?php | |
| $this->sharingContext['key'] = $value; // set a value | |
| $value = $this->sharingContext['key']; // retrieve value |
| <?php | |
| return [ | |
| // ... | |
| Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], // should already be enabled. | |
| // .. | |
| Nelmio\Alice\Bridge\Symfony\NelmioAliceBundle::class => ['test' => true], | |
| Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle::class => ['test' => true], | |
| ]; |