23 lines
488 B
PHP
23 lines
488 B
PHP
<?php
|
|
/**
|
|
* WPSEO plugin file.
|
|
*
|
|
* @package WPSEO\Admin
|
|
*/
|
|
|
|
/**
|
|
* Represents a way to determine an assets location.
|
|
*/
|
|
interface WPSEO_Admin_Asset_Location {
|
|
|
|
/**
|
|
* Determines the URL of the asset on the dev server.
|
|
*
|
|
* @param WPSEO_Admin_Asset $asset The asset to determine the URL for.
|
|
* @param string $type The type of asset. Usually JS or CSS.
|
|
*
|
|
* @return string The URL of the asset.
|
|
*/
|
|
public function get_url( WPSEO_Admin_Asset $asset, $type );
|
|
}
|