load() public méthode

Loads an entity from array or object
public load ( array | object $obj, string $tableAlias = null )
$obj array | object Source data
$tableAlias string optional The table alias which should be threated as column name prefix
 /**
  * {@inheritdoc}
  * @see \Scalr\Model\AbstractEntity::load()
  */
 public function load($obj, $tableAlias = null)
 {
     parent::load($obj);
     if (empty($this->ccId) || $this->ccId === '00000000-0000-0000-0000-000000000000') {
         $this->ccId = null;
     }
     if (empty($this->projectId) || $this->projectId === '00000000-0000-0000-0000-000000000000') {
         $this->projectId = null;
     }
 }