jstewmc/text

A simple text object

Maintainers

Details

github.com/jstewmc/text

Source

Issues

Installs: 49

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/jstewmc/text

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

This package is auto-updated.

Last update: 2025-09-29 01:35:22 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