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