for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pageon\SlackWebhookMonolog\General;
use JsonSerializable;
/**
* This will return the string representation when the class is encoded to json.
*
* @author Jelmer Prins <[email protected]>
* @since 0.4.0
*/
abstract class SerializeToString implements JsonSerializable
{
* {@inheritdoc}
public function jsonSerialize()
return (string) $this;
}