Registry / utility / dhii-stringable-interface

dhii-stringable-interface

JSON →
library0.2.0-alpha1phppackagistunverified

Interoperability interface for objects that can be cast to string, providing a common contract.

composer require dhii/stringable-interface
INSTALL
IMPORT
SIG · DHII-STRINGABLE-IN
D
dhii-stringable-interface
utilityphpv0.2.0-alpha1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StringableInterface
use Dhii\Stringable\StringableInterface;

Implement the StringableInterface in a class.

use Dhii\Stringable\StringableInterface; class MyStringable implements StringableInterface { public function __toString() { return 'Hello'; } }
Debug
Known issues
breakingThis package is in alpha and may have breaking changes.
fix
Pin to a specific version and test thoroughly.
affects: >=0.2.0-alpha1
Upgrade
Version history
0.2.0-alpha1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
dhii-stringable-interface — pip install dhii-stringable-interface · libregistry