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

/**
 * Class Dockerfile
 * @package Rancherize\Blueprint\Infrastructure
 *
 * Data object representing a dockerfile to be written to disk later
 */
class Dockerfile {

	/**
	 * @var string
	 */
	protected $from = '';

	/**
	 * @var string
	 */
	protected $command = '';

	/**
	 * @var string
	 */
	protected $entrypoint = '';

	/**
	 * @var string[]
	 */
	protected $volumes;

	/**
	 * @var string[]
	 */
	protected $copies = [];

	/**
	 * @var string[]
	 */
	protected $runCommands = [];

	/**
	 * @param string $from
	 */
	public function setFrom(string $from) {
		$this->from = $from;
	}

	/**
	 * @return string
	 */
	public function getFrom(): string {
		return $this->from;
	}

	/**
	 * @return string
	 */
	public function getCommand(): string {
		return $this->command;
	}

	/**
	 * @param string $command
	 */
	public function setCommand(string $command) {
		$this->command = $command;
	}

	/**
	 * @return string
	 */
	public function getEntrypoint(): string {
		return $this->entrypoint;
	}

	/**
	 * @param string $entrypoint
	 */
	public function setEntrypoint(string $entrypoint) {
		$this->entrypoint = $entrypoint;
	}

	/**
	 * @return \string[]
	 */
	public function getVolumes(): array {
		return $this->volumes;<commit_msg>Add $workdir with getter/setter<commit_after><?php namespace Rancherize\Blueprint\Infrastructure\Dockerfile;

/**
 * Class Dockerfile
 * @package Rancherize\Blueprint\Infrastructure
 *
 * Data object representing a dockerfile to be written to disk later
 */
class Dockerfile {

	/**
	 * @var string
	 */
	protected $from = '';

	/**
	 * @var string
	 */
	protected $command = '';
	
	/**
	 * @var string
	 */
	protected $workdir = '';

	/**
	 * @var string
	 */
	protected $entrypoint = '';

	/**
	 * @var string[]
	 */
	protected $volumes;

	/**
	 * @var string[]
	 */
	protected $copies = [];

	/**
	 * @var string[]
	 */
	protected $runCommands = [];

	/**
	 * @param string $from
	 */
	public function setFrom(string $from) {
		$this->from = $from;
	}

	/**
	 * @return string
	 */
	public function getFrom(): string {
		return $this->from;
	}

	/**
	 * @return string
	 */
	public function getCommand(): string {
		return $this->command;
	}

	/**
	 * @param string $command
	 */
	public function setCommand(string $command) {
		$this->command = $command;
	}
	
	/**
	 * @return string
	 */
	public function getWorkdir(): string {
		return $this->workdir;
	}

	/**
	 * @param string $workdir
	 */
	public function setWorkdir(string $workdir) {
		$this->workdir = $workdir;
	}

	/**
	 * @return string
	 */
	public function getEntrypoint(): string {
		return $this->entrypoint;
	}

	/**
	 * @param string $entrypoint
	 */
	public function setEntrypoint(string $entrypoint) {
		$this->entrypoint = $entrypoint;
	}

	/**
	 * @return \string[]
	 */
	public function getVolumes(): array {
		return $this->volumes;
{'fraction_non_alphanumeric': 0.16678035470668487, 'fraction_numerical': 0.0, 'mean_word_length': 2.9475100942126513, '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': '2009490', 'n_tokens_mistral': 1055, 'n_tokens_neox': 938, 'n_words': 229}