π Replace
Replaces parts of the string using str_replace.
Example Usageβ
use IPLeiria\ESTG\EI\DBContextSeeder\TableSeeder;
$seeder->value('status', 'pending')->replace('pending', 'awaiting'); //replaces status with awaiting
Replaces parts of the string using str_replace.
use IPLeiria\ESTG\EI\DBContextSeeder\TableSeeder;
$seeder->value('status', 'pending')->replace('pending', 'awaiting'); //replaces status with awaiting