| 1 |
<?php |
| 2 |
/** |
| 3 |
* WPSEO plugin file. |
| 4 |
* |
| 5 |
* @package WPSEO\Admin |
| 6 |
*/ |
| 7 |
|
| 8 |
/** |
| 9 |
* Represents a way to determine an assets location. |
| 10 |
*/ |
| 11 |
interface WPSEO_Admin_Asset_Location { |
| 12 |
|
| 13 |
/** |
| 14 |
* Determines the URL of the asset on the dev server. |
| 15 |
* |
| 16 |
* @param WPSEO_Admin_Asset $asset The asset to determine the URL for. |
| 17 |
* @param string $type The type of asset. Usually JS or CSS. |
| 18 |
* |
| 19 |
* @return string The URL of the asset. |
| 20 |
*/ |
| 21 |
public function get_url( WPSEO_Admin_Asset $asset, $type ); |
| 22 |
} |
| 23 |
|