Skip to content

Commit

Permalink
add content property
Browse files Browse the repository at this point in the history
  • Loading branch information
owzim committed May 11, 2015
1 parent 05d80f5 commit 806479c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions owzim/blick/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,17 @@ protected function getParam()
'version' => $this->version
));
}

/**
* getContent
*
* @see __get
* @return string
*/
protected function getContent()
{
return file_exists($this->path) ? file_get_contents($this->path) : '';
}

/**
* getMarkup
Expand Down

0 comments on commit 806479c

Please sign in to comment.