public function __construct($workingDirectory) { $this->workingDirectory = rtrim($workingDirectory, '/\\'); }