for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LazyEight\DiTesto;
use LazyEight\DiTesto\Interfaces\PrintableContentInterface;
abstract class AbstractFile implements PrintableContentInterface
{
/**
* @var string
*/
private $path;
private $rawContent;
public function __construct(string $path, string $content = '')
$this->path = $path;
$this->rawContent = $content;
}
* @return string
public function getPath(): string
return $this->path;
* @param string $path
public function setPath(string $path)
public function getRawContent(): string
return $this->rawContent;
* @param string $rawContent
public function setRawContent(string $rawContent)
$this->rawContent = $rawContent;