*/
private $files;
+ /**
+ * @var string
+ */
+ protected $appRoot;
+
+ /**
+ * FileQueue constructor.
+ *
+ * @param string $appRoot
+ */
+ public function __construct($appRoot)
+ {
+ $this->appRoot = $appRoot;
+ }
+
/**
* @param $file string
*/
public function addFile($file)
{
+ $file = str_replace($this->appRoot, '', $file);
$this->files[] = $file;
}