recall()
function is an helper function that is
used to obtain static urls stored with the Resource class named()
method.
Res::new() ->url('res/some-file.js')->named('some-js') ->url('res/some-file.css')->named('some-css') ->urlClose();
var_dump( recall('some-js', 'some-css') );
<script src="http://domain/res/some-file.js" /> <link href="http://domain/res/some-file.css" rel="stylesheet" type="text/css" />
Res::new() ->url('res/some-file.js')->named('some-js') ->url('res/some-file.css')->named('some-css') ->bind('some-group', ['some-js', 'some-css']) ->urlClose();
var_dump( recall('some-group') );
<script src="http://domain/res/some-file.js" /> <link href="http://domain/res/some-file.css" rel="stylesheet" type="text/css" />