for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ittoolspl\Smslabs\Entity;
class Sender
{
private $id;
private $name;
private $sender;
/**
* Sender constructor.
* @param string $id
* @param string $name
* @param string $sender
*/
public function __construct($id, $name, $sender)
$this->id = $id;
$this->name = $name;
$this->sender = $sender;
}
public static function createFromResponseObject(\stdClass $respObj)
return new self(
$respObj->id,
$respObj->name,
$respObj->sender
);
* @return string
public function getId()
return $this->id;
public function getName()
return $this->name;
public function getSender()
return $this->sender;