protected function populateStub()
{
// Populate data
$populate_data = $this->getPopulateData();
// Stub
$stub = $this->getStub();
// Loop through the populate data.
foreach ($populate_data as $search => $replace) {
// Populate the stub.
$stub = str_replace($search, $replace, $stub);
}
// Return the stub.
return $stub;
}