keskinbu/php-github-api

View on GitHub
src/Github/Traits/ClientTrait.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Github\Traits;

use Github\Client;

trait ClientTrait
{
    /**
     * The client
     *
     * @var Client
     */
    protected $client;

    /**
     * Get the value of The client
     *
     * @return Client
     */
    public function getClient()
    {
        return $this->client;
    }

    /**
     * Set the value of The client
     *
     * @param Client $client
     *
     * @return self
     */
    public function setClient(Client $client)
    {
        $this->client = $client;

        return $this;
    }
}