public function StringWrapperInterface::wordWrap in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/StringWrapper/StringWrapperInterface.php \Zend\Stdlib\StringWrapper\StringWrapperInterface::wordWrap()
Wraps a string to a given number of characters
Parameters
string $str:
int $width:
string $break:
bool $cut:
Return value
string
1 method overrides StringWrapperInterface::wordWrap()
- AbstractStringWrapper::wordWrap in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php - Wraps a string to a given number of characters
File
- vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ StringWrapperInterface.php, line 99
Class
Namespace
Zend\Stdlib\StringWrapperCode
public function wordWrap($str, $width = 75, $break = "\n", $cut = false);