Skip to content

Commit

Permalink
Adding docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 26, 2014
1 parent 411104d commit 2eb61b9
Show file tree
Hide file tree
Showing 143 changed files with 569 additions and 11 deletions.
4 changes: 4 additions & 0 deletions lib/Tmdb/Api/AbstractApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Guzzle\Http\Message\Response;
use Tmdb\Client;

/**
* Class AbstractApi
* @package Tmdb\Api
*/
abstract class AbstractApi
implements ApiInterface
{
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Api/ApiInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,9 @@
*/
namespace Tmdb\Api;

/**
* Interface ApiInterface
* @package Tmdb\Api
*/
interface ApiInterface {
}
4 changes: 4 additions & 0 deletions lib/Tmdb/ApiToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb;

/**
* Class ApiToken
* @package Tmdb
*/
class ApiToken {
private $apiToken = null;

Expand Down
3 changes: 1 addition & 2 deletions lib/Tmdb/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
use Tmdb\HttpClient\Plugin\SessionTokenPlugin;

/**
* Simple wrapper for the Tmdb API
*
* Client wrapper for TMDB
* @package Tmdb
*/
class Client {
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb\Exception;

/**
* Class InvalidArgumentException
* @package Tmdb\Exception
*/
class InvalidArgumentException extends \InvalidArgumentException {

}
4 changes: 4 additions & 0 deletions lib/Tmdb/Exception/MissingArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb\Exception;

/**
* Class MissingArgumentException
* @package Tmdb\Exception
*/
class MissingArgumentException extends \InvalidArgumentException {

}
4 changes: 4 additions & 0 deletions lib/Tmdb/Exception/NotImplementedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb\Exception;

/**
* Class NotImplementedException
* @package Tmdb\Exception
*/
class NotImplementedException extends \Exception {

}
4 changes: 4 additions & 0 deletions lib/Tmdb/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb\Exception;

/**
* Class RuntimeException
* @package Tmdb\Exception
*/
class RuntimeException extends \RuntimeException {

}
4 changes: 4 additions & 0 deletions lib/Tmdb/Exception/UnauthorizedRequestTokenException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb\Exception;

/**
* Class UnauthorizedRequestTokenException
* @package Tmdb\Exception
*/
class UnauthorizedRequestTokenException extends \RuntimeException {

}
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/AbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
use Tmdb\Model\Collection\ResultCollection;
use Tmdb\Model\Common\GenericCollection;

/**
* Class AbstractFactory
* @package Tmdb\Factory
*/
abstract class AbstractFactory implements FactoryInterface {
/**
* Convert an array to an hydrated object
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/AccountFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use Tmdb\Model\Account;
use Tmdb\Model\Lists\Result;

/**
* Class AccountFactory
* @package Tmdb\Factory
*/
class AccountFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/AuthenticationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use Tmdb\RequestToken;
use Tmdb\SessionToken;

/**
* Class AuthenticationFactory
* @package Tmdb\Factory
*/
class AuthenticationFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/CertificationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Model\Certification;
use Tmdb\Model\Common\GenericCollection;

/**
* Class CertificationFactory
* @package Tmdb\Factory
*/
class CertificationFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/ChangesFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Model\Change;
use Tmdb\Model\Collection\Changes;

/**
* Class ChangesFactory
* @package Tmdb\Factory
*/
class ChangesFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/CollectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Model\Collection;
use Tmdb\Model\Common\GenericCollection;

/**
* Class CollectionFactory
* @package Tmdb\Factory
*/
class CollectionFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/Common/ChangeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use Tmdb\Model\Common\Change;
use Tmdb\Model\Common\GenericCollection;

/**
* Class ChangeFactory
* @package Tmdb\Factory\Common
*/
class ChangeFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/CompanyFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

use Tmdb\Model\Company;

/**
* Class CompanyFactory
* @package Tmdb\Factory
*/
class CompanyFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/ConfigurationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

use Tmdb\Model\Configuration;

/**
* Class ConfigurationFactory
* @package Tmdb\Factory
*/
class ConfigurationFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/CreditsFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
use Tmdb\Model\Movie;
use Tmdb\Model\Credits as Credits;

/**
* Class CreditsFactory
* @package Tmdb\Factory
*/
class CreditsFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/FactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
*/
namespace Tmdb\Factory;

/**
* Interface FactoryInterface
* @package Tmdb\Factory
*/
interface FactoryInterface {

/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/FindFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Exception\NotImplementedException;
use Tmdb\Model\Find;

/**
* Class FindFactory
* @package Tmdb\Factory
*/
class FindFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/GenreFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use Tmdb\Model\Genre;
use Tmdb\Model\Movie;

/**
* Class GenreFactory
* @package Tmdb\Factory
*/
class GenreFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/ImageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Model\Collection\Images;
use Tmdb\Model\Image;

/**
* Class ImageFactory
* @package Tmdb\Factory
*/
class ImageFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/JobsFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Model\Collection\Jobs;
use Tmdb\Model\Job;

/**
* Class JobsFactory
* @package Tmdb\Factory
*/
class JobsFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/KeywordFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use Tmdb\Model\Keyword;
use Tmdb\Model\Movie;

/**
* Class KeywordFactory
* @package Tmdb\Factory
*/
class KeywordFactory extends AbstractFactory
{
/**
Expand Down
5 changes: 4 additions & 1 deletion lib/Tmdb/Factory/ListFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@
namespace Tmdb\Factory;

use Tmdb\Factory\Lists\ListItemFactory;
use Tmdb\Model\Collection\Genres;
use Tmdb\Model\Common\GenericCollection;
use Tmdb\Model\Genre;
use Tmdb\Model\Lists;
use Tmdb\Model\Movie;

/**
* Class ListFactory
* @package Tmdb\Factory
*/
class ListFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/Lists/ListItemFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
use Tmdb\Model\Common\GenericCollection;
use Tmdb\Model\Lists\ListItem;

/**
* Class ListItemFactory
* @package Tmdb\Factory\Lists
*/
class ListItemFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/Movie/AlternativeTitleFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
use Tmdb\Model\Common\GenericCollection;
use Tmdb\Model\Movie\AlternativeTitle;

/**
* Class AlternativeTitleFactory
* @package Tmdb\Factory\Movie
*/
class AlternativeTitleFactory extends AbstractFactory
{
/**
Expand Down
5 changes: 4 additions & 1 deletion lib/Tmdb/Factory/Movie/ListItemFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@

use Tmdb\Factory\AbstractFactory;
use Tmdb\Factory\ImageFactory;
use Tmdb\Model\Collection\ResultCollection;
use Tmdb\Model\Movie\ListItem;

/**
* Class ListItemFactory
* @package Tmdb\Factory\Movie
*/
class ListItemFactory extends AbstractFactory
{
private $imageFactory;
Expand Down
5 changes: 4 additions & 1 deletion lib/Tmdb/Factory/MovieFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

use Tmdb\Factory\Common\ChangeFactory;
use Tmdb\Factory\Movie\ListItemFactory;
use Tmdb\Factory\ReviewFactory;
use Tmdb\Factory\People\CastFactory;
use Tmdb\Factory\People\CrewFactory;
use Tmdb\Model\Common\GenericCollection;
Expand All @@ -23,6 +22,10 @@
use Tmdb\Model\Lists\Result;
use Tmdb\Model\Movie;

/**
* Class MovieFactory
* @package Tmdb\Factory
*/
class MovieFactory extends AbstractFactory {
/**
* @var People\CastFactory
Expand Down
5 changes: 4 additions & 1 deletion lib/Tmdb/Factory/NetworkFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
*/
namespace Tmdb\Factory;

use Tmdb\Model\Collection\Networks;
use Tmdb\Model\Common\GenericCollection;
use Tmdb\Model\Network;
use Tmdb\Model\Movie;

/**
* Class NetworkFactory
* @package Tmdb\Factory
*/
class NetworkFactory extends AbstractFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/People/CastFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Factory\PeopleFactory;
use Tmdb\Model\Collection\People\Cast;

/**
* Class CastFactory
* @package Tmdb\Factory\People
*/
class CastFactory extends PeopleFactory
{
/**
Expand Down
4 changes: 4 additions & 0 deletions lib/Tmdb/Factory/People/CrewFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
use Tmdb\Factory\PeopleFactory;
use Tmdb\Model\Collection\People\Crew;

/**
* Class CrewFactory
* @package Tmdb\Factory\People
*/
class CrewFactory extends PeopleFactory
{
/**
Expand Down
Loading

0 comments on commit 2eb61b9

Please sign in to comment.