Permalink
Browse files

fixed readme typo

  • Loading branch information...
1 parent 1f77610 commit bd9915fb1385248ca19a1d61eb0ee4afb80cc4b9 @unu unu committed Jul 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 readme.md
View
@@ -100,27 +100,27 @@ Convert LadyPHP from string to PHP code.
### Lady::parseFile()
- Lady::parseFile(string $file, string $cacheFile = null, int $shrink = self::PRESERVE)`
+ Lady::parseFile(string $file, string $cacheFile = null, int $shrink = self::PRESERVE)
Convert LadyPHP from file to PHP code.
### Lady::includeFile()
- Lady::includeFile(string $file, string $cacheFile = null, int $shrink = self::PRESERVE)`
+ Lady::includeFile(string $file, string $cacheFile = null, int $shrink = self::PRESERVE)
If `cacheFile` is null, convert LadyPHP from file and execute output.
If `cacheFile` is set, then check if `cacheFile` if newer then `file`. If it's older, parse `file` and save output to `cacheFile`. Then include `cacheFile`.
### Lady::testFile()
- Lady::testFile(string $file, int $shrink = self::PRESERVE)`
+ Lady::testFile(string $file, int $shrink = self::PRESERVE)
Parse file and show input and output as html.
### Lady::compress()
- Lady::compress(string $php)`
+ Lady::compress(string $php)
Helper function to remove whitespaces from PHP code.

0 comments on commit bd9915f

Please sign in to comment.