jstewmc/text

A simple text object

v0.1.1 2016-09-22 14:41 UTC

This package is auto-updated.

Last update: 2024-10-29 04:47:39 UTC


README

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