contents)) { $this->contents = $this->generateContents(); } return $this->contents; } /** * Load the scaffold contents or otherwise generate what is needed. * * @return string * The contents of the scaffold file. */ abstract protected function generateContents(); /** * {@inheritdoc} */ public function scaffoldOverExistingTarget(OperationInterface $existing_target) { return $this; } /** * {@inheritdoc} */ public function scaffoldAtNewLocation(ScaffoldFilePath $destination) { return $this; } }