protected function __construct($repositoryPath) { $this->repositoryPath = rtrim($repositoryPath, '/'); }
/** * Creates a new repository instance - use {@see open()} instead * * @param string $repositoryPath * @param Binary $git */ protected function __construct($repositoryPath, Binary $git) { $this->git = $git; parent::__construct($repositoryPath); }