asset() public méthode

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