public function AbstractStringWrapper::getEncoding in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/StringWrapper/AbstractStringWrapper.php \Zend\Stdlib\StringWrapper\AbstractStringWrapper::getEncoding()
Get the defined character encoding to work with
Return value
string
Throws
Exception\LogicException If no encoding was defined
Overrides StringWrapperInterface::getEncoding
11 calls to AbstractStringWrapper::getEncoding()
- AbstractStringWrapper::convert in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php - Convert a string from defined character encoding to the defined convert encoding
- AbstractStringWrapper::strPad in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php - Pad a string to a certain length with another string
- AbstractStringWrapper::wordWrap in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php - Wraps a string to a given number of characters
- Iconv::convert in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ Iconv.php - Convert a string from defined encoding to the defined convert encoding
- Iconv::strlen in vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ Iconv.php - Returns the length of the given string
File
- vendor/
zendframework/ zend-stdlib/ src/ StringWrapper/ AbstractStringWrapper.php, line 93
Class
Namespace
Zend\Stdlib\StringWrapperCode
public function getEncoding() {
return $this->encoding;
}