for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Xsolve\SalesforceClient\Model;
use JMS\Serializer\Annotation\Type;
use Xsolve\SalesforceClient\Enum\AbstractSObjectType;
abstract class AbstractSObject
{
/**
* @var string
* @Type("string")
*/
protected $id;
protected $createdById;
* @var \DateTime
* @Type("DateTime<'Y-m-d\TH:i:s.\0\0\0O'>")
protected $createdDate;
protected $lastModifiedById;
protected $lastModifiedDate;
protected $systemModstamp;
abstract public static function getSObjectName(): AbstractSObjectType;
* @return string
public function getId()
return $this->id;
}
public function getCreatedById()
return $this->createdById;
* @return \DateTime
public function getCreatedDate()
return $this->createdDate;
public function getLastModifiedById()
return $this->lastModifiedById;
public function getLastModifiedDate()
return $this->lastModifiedDate;
public function getSystemModstamp()
return $this->systemModstamp;
public function setId(string $id): self
$this->id = $id;
return $this;