PHP Class Phrocco\Adapter\PhpAdapter

Author: Ross Riley
Inheritance: implements Phrocco\Adapter\AdapterInterface
Datei anzeigen Open project: rossriley/phrocco

Public Properties

Property Type Description
$comment_blocks Regular Expression to find strip out all type of comments characters
$comment_expr
$comment_tokens
$doc_params
$multi_block

Public Methods

Method Description
parse ( $file ) : `array` ###Main parsing method.

Method Details

parse() public method

Uses the php tokenizer to separate comments from code
public parse ( $file ) : `array`
return `array`

Property Details

$comment_blocks public_oe property

Regular Expression to find strip out all type of comments characters
public $comment_blocks

$comment_expr public_oe property

public $comment_expr

$comment_tokens public_oe property

public $comment_tokens

$doc_params public_oe property

public $doc_params

$multi_block public_oe property

public $multi_block