delete() public method

Delete a specific module.
public delete ( string $name ) : boolean
$name string
return boolean
Esempio n. 1
0
 /** @test */
 public function it_can_delete_a_module()
 {
     $this->artisan('module:make', ['name' => ['Blog']]);
     $this->repository->delete('Blog');
     $this->assertFalse(is_dir(base_path('modules/Blog')));
 }