for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Palladium\Entity;
use Palladium\Component\Collection;
use Palladium\Contract\HasId;
class IdentityCollection extends Collection
{
private $accountId;
private $parentId;
private $type;
private $status;
/**
* @codeCoverageIgnore
*/
protected function buildEntity(): HasId
return new Identity;
}
public function forAccountId(int $accountId)
$this->accountId = $accountId;
public function getAccountId()
return $this->accountId;
public function forParentId(int $parentId)
$this->parentId = $parentId;
public function getParentId()
return $this->parentId;
public function forType(int $type = null)
$this->type = $type;
public function getType()
return $this->type;
public function forStatus(int $status)
$this->status = $status;
public function getStatus()
return $this->status;