Removed ServerAwareTrait

This commit is contained in:
Alex Bilbie 2016-01-15 00:14:41 +00:00
parent f7b3c018c5
commit 84a9802a67

View File

@ -1,38 +0,0 @@
<?php
namespace League\OAuth2\Server\Utils;
use League\OAuth2\Server\AbstractServer;
trait ServerAwareTrait
{
/**
* Server
*
* @var \League\OAuth2\Server\AbstractServer $server
*/
protected $server;
/**
* Set the server
*
* @param \League\OAuth2\Server\AbstractServer $server
*
* @return self
*/
public function setServer(AbstractServer $server)
{
$this->server = $server;
return $this;
}
/**
* Return the server
*
* @return \League\OAuth2\Server\AbstractServer
*/
protected function getServer()
{
return $this->server;
}
}