PHP Class PHPUnit_Util_Skeleton, qcodo

Author: Sebastian Bergmann ([email protected])
ファイルを表示 Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$inClassName array
$inSourceFile string
$outClassName array
$outSourceFile string

Public Methods

Method Description
__construct ( string $inClassName, string $inSourceFile = '', string $outClassName = '', string $outSourceFile = '' ) Constructor.
generate ( )
getOutClassName ( ) : string
getOutSourceFile ( ) : string
write ( string $file = '' ) Generates the code and writes it to a source file.

Method Details

__construct() public method

Constructor.
public __construct ( string $inClassName, string $inSourceFile = '', string $outClassName = '', string $outSourceFile = '' )
$inClassName string
$inSourceFile string
$outClassName string
$outSourceFile string

generate() abstract public method

abstract public generate ( )

getOutClassName() public method

public getOutClassName ( ) : string
return string

getOutSourceFile() public method

public getOutSourceFile ( ) : string
return string

write() public method

Generates the code and writes it to a source file.
public write ( string $file = '' )
$file string

Property Details

$inClassName protected_oe property

protected array $inClassName
return array

$inSourceFile protected_oe property

protected string $inSourceFile
return string

$outClassName protected_oe property

protected array $outClassName
return array

$outSourceFile protected_oe property

protected string $outSourceFile
return string