Back to WebAssetItemInterface class

Method getUri

public string
getUri
(mixed $resolvePath = true)
Get the URI of the asset
Parameters
  • bool $resolvePath Whether need to search for a real paths
Returns
  • string
Since
  • 4.0.0

Method getUri - Source code

/**
 * Get the URI of the asset
 *
 * @param   boolean  $resolvePath  Whether need to search for a real paths
 *
 * @return string
 *
 * @since   4.0.0
 */
public function getUri($resolvePath = true) : string;