src/classes/CCForge/Php.php
public function closure( $name, $content = null, $comment )
	{
		return $this->add( ( $comment ? static::make( 'comment', array( $comment ) )."\n" : '' ).
			$name."\n{\n".str_replace( "\n", "\n\t", "\t".CCStr::capture( $content ) )."\n}" );
	}
public function closure( $name, $content = null, $comment )
	{
		return $this->add( ( $comment ? static::make( 'comment', array( $comment ) )."\n" : '' ).
			$name."\n{\n".str_replace( "\n", "\n\t", "\t".CCStr::capture( $content ) )."\n}" );
	}
public function closure ( $ name , $ content = null , $ comment ) { return $ this -> add ( ( $ comment ? static :: make ( 'comment' , array ( $ comment ) ) . "\n" : '' ) . $ name . "\n{\n" . str_replace ( "\n" , "\n\t" , "\t" . CCStr :: capture ( $ content ) ) . "\n}" ) ; }
generates an closure

@param string		$str
@param int		$wordwrap
@return string
generates an closure