AthensFramework/core

View on GitHub
doc/api/Athens-Core-Etc-SafeString.md

Summary

Maintainability
Test Coverage
Athens\Core\Etc\SafeString
===============

Class SafeString is a wrapper class for strings that marks them
as safe for printing to any display.




* Class name: SafeString
* Namespace: Athens\Core\Etc







Methods
-------


### __toString

    string Athens\Core\Etc\SafeString::__toString()





* Visibility: **public**




### fromString

    \Athens\Core\Etc\SafeString Athens\Core\Etc\SafeString::fromString(string $value)

Create a SafeString from a string



* Visibility: **public**
* This method is **static**.


#### Arguments
* $value **string**