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

28 lines
425 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;
}
}