mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Replacing all function to TransformableRenderable
This commit is contained in:
@@ -22,4 +22,10 @@ interface TransformableRenderable extends Renderable
|
||||
* @return Renderable
|
||||
*/
|
||||
public function transformingContent(\Closure $Transform): Renderable;
|
||||
|
||||
/**
|
||||
* Similar to transformingContent, but replace the string $search in text content
|
||||
* with the renderable $Replacement and return the result.
|
||||
*/
|
||||
public function replacingAll(string $search, Renderable $Replacement): Renderable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user