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 $userId;
private $type;
private $status;
/**
* @codeCoverageIgnore
*/
protected function buildEntity()
return new Identity;
}
public function forUserId($userId)
$this->userId = (int) $userId;
public function getUserId()
return $this->userId;
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;