<commit_before><?php namespace Rancherize\Blueprint\Infrastructure\Copier;

use Rancherize\Blueprint\Infrastructure\Service\Service;

/**
 * Class ServiceCopier
 * @package Rancherize\Blueprint\Infrastructure\Copier
 */
class ServiceCopier
{

    /**
     * @param Service $service
     * @return Service
     */
    public function copy(Service $service)
    {

        $newService = new Service();
        $newService->setName($service->getName());
        $newService->setImage($service->getImage());
        $newService->setRestart($service->getRestart());

        return $newService;
    }

}<commit_msg>refs #96 copy command and stding<commit_after><?php namespace Rancherize\Blueprint\Infrastructure\Copier;

use Rancherize\Blueprint\Infrastructure\Service\Service;

/**
 * Class ServiceCopier
 * @package Rancherize\Blueprint\Infrastructure\Copier
 */
class ServiceCopier
{

    /**
     * @param Service $service
     * @return Service
     */
    public function copy(Service $service)
    {

        $newService = new Service();
        $newService->setName($service->getName());
        $newService->setImage($service->getImage());
        $newService->setRestart($service->getRestart());
        $newService->setCommand($service->getCommand());
        $newService->setKeepStdin($service->isKeepStdin());

        return $newService;
    }

}
{'fraction_non_alphanumeric': 0.137905604719764, 'fraction_numerical': 0.0014749262536873156, 'mean_word_length': 3.405844155844156, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4901307', 'n_tokens_mistral': 398, 'n_tokens_neox': 390, 'n_words': 63}