From ba4db233db6b56aa49c80d6eda6ecd7a00999dd4 Mon Sep 17 00:00:00 2001 From: dlawson Date: Thu, 30 Jun 2011 19:53:32 +0000 Subject: [PATCH] bundle class updates -ddl git-svn-id: https://git.crowdfave.org/svn/crowdfavorite/code/wp-plugins/asset-build-script/trunk@37701 546ca710-db30-0410-8887-d9dd8e66aff0 --- lib/Bundler.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Bundler.php b/lib/Bundler.php index b3fd436..8374da7 100644 --- a/lib/Bundler.php +++ b/lib/Bundler.php @@ -26,7 +26,7 @@ public function push($bundle) { $this->bundles[] = $bundle; } - public function get_bundle() { + public function get_bundles() { return $this->bundles; } @@ -88,6 +88,10 @@ public function __construct($my_key, $my_path, $my_replacements = array()) { $this->replacements = $my_replacements; } + public function add_replacement($find, $replace) { + $this->replacements[] = $find => $replace; + } + public function get_key() { return $this->key; }