Or:
Show file Open project: vjousse/symfony-1.4 Class Usage Examples
Method | Description | |
---|---|---|
chain ( Reader $reader ) | * Creates a new StripLineComments using the passed in Reader for instantiation. | |
createComment ( ) |
*
Adds a comment element to the list of prefixes. |
|
getComments ( ) | * Returns the list of comment prefixes to strip. | |
read ( $len = null ) : mixed | Returns stream only including lines from the original stream which don't start with any of the specified comment prefixes. | |
setComments ( $lineBreaks ) | * Sets the list of comment prefixes to strip. |
Method | Description | |
---|---|---|
_initialize ( ) | * Parses the parameters to set the comment prefixes. |
public chain ( Reader $reader ) | ||
$reader | Reader |
comment
element to the list of prefixes. public createComment ( ) |
public setComments ( $lineBreaks ) |