Свойство | Тип | Описание | |
---|---|---|---|
$resources | array |
Метод | Описание | |
---|---|---|
clear ( ) | Clear all resources out of the queue. | |
generateLinks ( ) : array | Generate the server push link strings. | |
getTypeByExtension ( string $resourcePath ) : string | ||
hasLinks ( ) : boolean | ||
queueResource ( string $resourcePath, string $type = null ) | Push a resource onto the queue for the middleware. |
public generateLinks ( ) : array | ||
Результат | array |
public static getTypeByExtension ( string $resourcePath ) : string | ||
$resourcePath | string | |
Результат | string |
public queueResource ( string $resourcePath, string $type = null ) | ||
$resourcePath | string | |
$type | string |