oauth2-server/src/Entities/Traits/ClientEntityTrait.php

29 lines
426 B
PHP
Raw Normal View History

2015-04-05 18:33:25 +05:30
<?php
namespace League\OAuth2\Server\Entities\Traits;
trait ClientEntityTrait
{
/**
* @var string
*/
protected $name;
/**
* Get the client's name
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set the client's name
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
}