Or:
Afficher le fichier Open project: vjousse/symfony-1.4 Class Usage Examples
Méthode | 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. |
Méthode | 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 getComments ( ) |
public setComments ( $lineBreaks ) |