Skip to content

Commit

Permalink
Removing headers from the client as it should have nothing to do with…
Browse files Browse the repository at this point in the history
… it.
  • Loading branch information
wtfzdotnet committed Jan 29, 2014
1 parent f91491b commit 7c57e63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A PHP Wrapper for use with the [TMDB API](http://http://docs.themoviedb.apiary.i
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/wtfzdotnet/php-tmdb-api/badges/quality-score.png?s=dad36710f36335bdeffeaf2ac256c222862832fa)](https://scrutinizer-ci.com/g/wtfzdotnet/php-tmdb-api/)
[![License](https://poser.pugx.org/wtfzdotnet/php-tmdb-api/license.png)](https://packagist.org/packages/wtfzdotnet/php-tmdb-api)

Inspired by [php-github-api](https://github.com/KnpLabs/php-github-api) and [php-gitlab-api](https://github.com/m4tthumphrey/php-gitlab-api/).
Inspired by [php-github-api](https://github.com/KnpLabs/php-github-api), [php-gitlab-api](https://github.com/m4tthumphrey/php-gitlab-api/) and the Symfony2 Community.

Stable
----------------
Expand Down
24 changes: 0 additions & 24 deletions lib/Tmdb/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,30 +259,6 @@ public function setHttpClient(HttpClientInterface $httpClient)
$this->httpClient = $httpClient;
}

/**
* Clears used headers
*/
public function clearHeaders()
{
$this->httpClient->clearHeaders();
}

/**
* @param array $headers
*/
public function setHeaders(array $headers)
{
$this->httpClient->setHeaders($headers);
}

/**
* @return array
*/
public function getHeaders()
{
$this->httpClient->getHeaders();
}

/**
* Return the base url with preferred schema
*
Expand Down

0 comments on commit 7c57e63

Please sign in to comment.