Inject server into tokentype

This commit is contained in:
Alex Bilbie
2014-09-30 22:26:34 +01:00
parent b68a5c2abb
commit 1e3a192920
2 changed files with 17 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ abstract class AbstractServer
*/
public function setTokenType(TokenTypeInterface $tokenType)
{
$tokenType->setServer($this);
$this->tokenType = $tokenType;
}