public function __construct(RepositoryCreator $creator) { parent::__construct(); // Set the creator. $this->creator = $creator; // Set composer. $this->composer = app()['composer']; }