From 545a7fdcb998e43bd71e87586f4f0f435b02123e Mon Sep 17 00:00:00 2001 From: Kris Wallsmith Date: Sat, 7 May 2011 08:06:48 -0700 Subject: [PATCH] [AsseticBundle] made some methods private --- src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php b/src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php index b3f1c2870b..98d3bc28de 100644 --- a/src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php +++ b/src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php @@ -72,7 +72,7 @@ class DumpCommand extends Command * * @param OutputInterface $output The command output */ - protected function watch(OutputInterface $output) + private function watch(OutputInterface $output) { $refl = new \ReflectionClass('Assetic\\AssetManager'); $prop = $refl->getProperty('assets'); @@ -119,7 +119,7 @@ class DumpCommand extends Command * * @return AssetInterface|Boolean The asset if it should be dumped */ - protected function checkAsset($name, array &$previously) + private function checkAsset($name, array &$previously) { $formula = $this->am->hasFormula($name) ? serialize($this->am->getFormula($name)) : null; $asset = $this->am->get($name); @@ -145,7 +145,7 @@ class DumpCommand extends Command * @param string $name An asset name * @param OutputInterface $output The command output */ - protected function dumpAsset($name, OutputInterface $output) + private function dumpAsset($name, OutputInterface $output) { $asset = $this->am->get($name); $formula = $this->am->getFormula($name); @@ -169,7 +169,7 @@ class DumpCommand extends Command * * @throws RuntimeException If there is a problem writing the asset */ - protected function doDump(AssetInterface $asset, OutputInterface $output) + private function doDump(AssetInterface $asset, OutputInterface $output) { $target = rtrim($this->basePath, '/').'/'.str_replace('_controller/', '', $asset->getTargetUrl()); if (!is_dir($dir = dirname($target))) {