Skip to content
Browse files

Merge pull request #565 from shaula/master

renamed attribute StringAsset->$content to StringAsset->$string to ...
  • Loading branch information...
2 parents 9ca5083 + bc83fb6 commit d013aae51baf893fe8d38b41f2d24db03e1cfbf7 @stof stof committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Assetic/Asset/StringAsset.php
View
6 src/Assetic/Asset/StringAsset.php
@@ -20,7 +20,7 @@
*/
class StringAsset extends BaseAsset
{
- private $content;
+ private $string;
private $lastModified;
/**
@@ -33,14 +33,14 @@ class StringAsset extends BaseAsset
*/
public function __construct($content, $filters = array(), $sourceRoot = null, $sourcePath = null)
{
- $this->content = $content;
+ $this->string = $content;
parent::__construct($filters, $sourceRoot, $sourcePath);
}
public function load(FilterInterface $additionalFilter = null)
{
- $this->doLoad($this->content, $additionalFilter);
+ $this->doLoad($this->string, $additionalFilter);
}
public function setLastModified($lastModified)

0 comments on commit d013aae

Please sign in to comment.
Something went wrong with that request. Please try again.