Solar_Cli_MakeDocs::_write()

protected void Solar_Cli_MakeDocs::_write ( string $type , string $file , mixed $text )

Writes a file to the target directory.

Parameters

  • (string) $type: The type of file to write: 'class' or 'package'.

  • (string) $file: A relative file name, e.g. "class/Class_Name/Overview".

  • (mixed) $text: A text string or array to write to the file; if an array, is imploded with newlines and trimmed before writing.

Returns

  • (void)

Description

Writes a file to the target directory.



Local