프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |