for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Akibatech\FreeMobileSms\Notifications;
/**
* Class FreeMobileMessage
*
* @package Akibatech\FreeMobileSms\Notifications
*/
class FreeMobileMessage
{
* The message content.
* @var string
public $message;
//-------------------------------------------------------------------------
* Create a new message instance.
* @param string $message
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct($message = '')
$this->message = $message;
}
* Set the message content.
* @return self
public function message($message)
return $this;
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.