Removed unused method

This commit is contained in:
Alex Bilbie 2015-04-05 21:13:53 +01:00
parent bdd71743cd
commit 8fcf93c489

View File

@ -99,18 +99,4 @@ abstract class AbstractServer implements ContainerAwareInterface, EmitterAwareIn
break;
}
}
/**
* Get a hydrated grant
*
* @param string $grant
* @param \DateInterval $tokenTTL
*
* @return \League\OAuth2\Server\Repositories\RepositoryInterface
* @deprecated
*/
public function getGrant($grant, \DateInterval $tokenTTL)
{
return $this->getContainer()->get($grant, [$this->responseType, $tokenTTL]);
}
}