FOFLess::cachedCompile
Execute lessphp on a .less file or a lessphp cache structure
The lessphp cache structure contains information about a specific less file having been parsed. It can be used as a hint for future calls to determine whether or not a rebuild is required. The cache structure contains two important keys that may be used externally: compiled: The final compiled CSS updated: The time (in seconds) the CSS was last compiled The cache structure is a plain-ol' PHP associative array and can be serialized and unserialized without a hitch.
Signature
public function cachedCompile(mixed
$in,
[bool
$force = false] )
Parameters
-
$in
- Input
-
$force
- Force rebuild?
Returns
- array
- lessphp cache structure