asset() public method

Get asset url from a specific module.
public asset ( string $asset ) : string
$asset string
return string
Esempio n. 1
0
 /** @test */
 public function it_gets_a_specific_module_asset()
 {
     $path = $this->repository->asset('recipe:test.js');
     $this->assertEquals('//localhost/modules/recipe/test.js', $path);
 }