프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$addJquery | Whether to add jQuery to the HTML | ||
$cache | |||
$config | |||
$injector | Bolt\Asset\Injector | ||
$queue | Queue with snippets of HTML to insert. | ||
$resources |
메소드 | 설명 | |
---|---|---|
__construct ( Bolt\Asset\Injector $injector, |
Constructor. | |
add ( Bolt\Asset\Snippet\SnippetAssetInterface $snippet ) | Insert a snippet. And by 'insert' we actually mean 'add it to the queue, to be processed later'. | |
clear ( ) | ||
getQueue ( ) : Bolt\Asset\Snippet\Snippet[] | Get the queued snippets. | |
process ( |
메소드 | 설명 | |
---|---|---|
addJquery ( |
Insert jQuery, if it's not inserted already. |
메소드 | 설명 | |
---|---|---|
pregCallback ( string $c ) : string | Callback method to identify comments and store them in the matchedComments array. |
public __construct ( Bolt\Asset\Injector $injector, |
||
$injector | Bolt\Asset\Injector | |
$cache | ||
$config | ||
$resources |
public add ( Bolt\Asset\Snippet\SnippetAssetInterface $snippet ) | ||
$snippet | Bolt\Asset\Snippet\SnippetAssetInterface |
protected addJquery ( |
||
$request | ||
$response |
public getQueue ( ) : Bolt\Asset\Snippet\Snippet[] | ||
리턴 | Bolt\Asset\Snippet\Snippet[] |
public process ( |
||
$request | ||
$response |
protected CacheProvider,Doctrine\Common\Cache $cache | ||
리턴 |