assetPath() public method

Get asset path for a specific module.
public assetPath ( $module ) : string
$module
return string
コード例 #1
0
 /** @test */
 public function it_finds_the_module_asset_path()
 {
     $this->repository->addLocation(__DIR__ . '/stubs/Recipe');
     $assetPath = $this->repository->assetPath('recipe');
     $this->assertEquals(public_path('modules/recipe'), $assetPath);
 }