for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FtwSoft\NotificationChannels\Intercom\Tests\Mocks;
use Illuminate\Notifications\Notifiable;
class TestNotifiable
{
use Notifiable;
/**
* @var bool|array
*/
private $to;
* TestNotifiable constructor.
*
* @param $to
public function __construct($to = false)
$this->to = $to;
}
* @return array|bool
public function routeNotificationForIntercom()
return $this->to;