Added GrantTrait::setIdentifier

I found it useful to be able to set the identifier so I could "alias" one for deprecation. Hopefully no issues here @alexbilbie
This commit is contained in:
Phil Sturgeon 2013-12-04 17:23:19 -05:00
parent b55b73c1e8
commit 1419ba8cdc

View File

@ -22,6 +22,17 @@ trait GrantTrait {
return $this->identifier;
}
/**
* Return the identifier
* @param string $identifier
* @return self
*/
public function setIdentifier($identifier)
{
$this->identifier = $identifier;
return $this;
}
/**
* Return the response type
* @return string
@ -42,4 +53,4 @@ trait GrantTrait {
return $this;
}
}
}