Skip to content

jstewmc/text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text

A simple text object.

namespace Jstewmc\Text;

$text = new Text('foo');

$text->getText();  // returns "foo"
(string) $text;    // returns "foo"

This library is a simple text object that can serve as the base class for more complex text objects.

License

MIT

Author

Jack Clayton

License

This library follows Semantic Versioning.

0.1.1, September 22, 2016

  • Update text property from private to protected (whoops!).

0.1.0, September 22, 2016

  • Initial release

About

A simple text object.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages