Merge remote branch 'vicb/tweaks_110425'
* vicb/tweaks_110425: [AsseticBundle] Remove an unused property [Cache warmers] A few tweaks
This commit is contained in:
commit
d6bdb7af88
@ -11,10 +11,15 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\AsseticBundle\CacheWarmer;
|
namespace Symfony\Bundle\AsseticBundle\CacheWarmer;
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmer;
|
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
class AssetManagerCacheWarmer extends CacheWarmer
|
/**
|
||||||
|
* The AssetManagerCacheWarmer warms up the formula loader.
|
||||||
|
*
|
||||||
|
* @author Kris Wallsmith <kris.wallsmith@symfony.com>
|
||||||
|
*/
|
||||||
|
class AssetManagerCacheWarmer implements CacheWarmerInterface
|
||||||
{
|
{
|
||||||
private $container;
|
private $container;
|
||||||
|
|
||||||
|
@ -12,10 +12,15 @@
|
|||||||
namespace Symfony\Bundle\AsseticBundle\CacheWarmer;
|
namespace Symfony\Bundle\AsseticBundle\CacheWarmer;
|
||||||
|
|
||||||
use Assetic\AssetWriter;
|
use Assetic\AssetWriter;
|
||||||
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmer;
|
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
class AssetWriterCacheWarmer extends CacheWarmer
|
/**
|
||||||
|
* The AssetWriterCacheWarmer processes and writes the asset files.
|
||||||
|
*
|
||||||
|
* @author Kris Wallsmith <kris.wallsmith@symfony.com>
|
||||||
|
*/
|
||||||
|
class AssetWriterCacheWarmer implements CacheWarmerInterface
|
||||||
{
|
{
|
||||||
private $container;
|
private $container;
|
||||||
private $writer;
|
private $writer;
|
||||||
|
@ -23,11 +23,9 @@ use Symfony\Component\Templating\Loader\LoaderInterface;
|
|||||||
class FileResource implements ResourceInterface
|
class FileResource implements ResourceInterface
|
||||||
{
|
{
|
||||||
protected $loader;
|
protected $loader;
|
||||||
protected $parser;
|
|
||||||
protected $bundle;
|
protected $bundle;
|
||||||
protected $baseDir;
|
protected $baseDir;
|
||||||
protected $path;
|
protected $path;
|
||||||
|
|
||||||
protected $template;
|
protected $template;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\FrameworkBundle\CacheWarmer;
|
namespace Symfony\Bundle\FrameworkBundle\CacheWarmer;
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmer;
|
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
|
||||||
use Symfony\Component\Routing\Router;
|
use Symfony\Component\Routing\Router;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -19,7 +19,7 @@ use Symfony\Component\Routing\Router;
|
|||||||
*
|
*
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*/
|
*/
|
||||||
class RouterCacheWarmer extends CacheWarmer
|
class RouterCacheWarmer implements CacheWarmerInterface
|
||||||
{
|
{
|
||||||
protected $router;
|
protected $router;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace Symfony\Bundle\TwigBundle\CacheWarmer;
|
namespace Symfony\Bundle\TwigBundle\CacheWarmer;
|
||||||
|
|
||||||
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmer;
|
use Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
use Symfony\Component\Finder\Finder;
|
use Symfony\Component\Finder\Finder;
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ use Symfony\Component\Finder\Finder;
|
|||||||
*
|
*
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*/
|
*/
|
||||||
class TemplateCacheCacheWarmer extends CacheWarmer
|
class TemplateCacheCacheWarmer implements CacheWarmerInterface
|
||||||
{
|
{
|
||||||
protected $container;
|
protected $container;
|
||||||
protected $parser;
|
protected $parser;
|
||||||
|
Reference in New Issue
Block a user