Свойство | Type | Description | |
---|---|---|---|
$defaults | |||
$extensions | |||
$group | |||
$language | ### Default options, These are normally provided by the command-line tool but can be overridden if required. | ||
$options |
Méthode | Description | |
---|---|---|
__construct ( array $options ) | ###Constructor method, Prepares class using command line options provided. | |
process ( ) | ## Iterate and Process All the magic happens here, whils it looks complicated this is essentially a directory iterator that creates an array of filenames, with a corresponding Phrocco object that can look after rendering itself. | |
write ( ) | ### Final File renders Iterates over all found files and calls on the Phrocco class to render each file. |
public __construct ( array $options ) | ||
$options | array | receives the command line options to decide where to choose files and output docs. |
public process ( ) |
public write ( ) |
public $language |