Skip to content

Commit

Permalink
Adding credit_id
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Mar 4, 2014
1 parent b676689 commit 20a3507
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/phpunit
/public_html
/cache.properties
/tmdb.log
25 changes: 25 additions & 0 deletions lib/Tmdb/Model/Person/CastMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ class CastMember extends AbstractMember implements PersonInterface
*/
private $castId;

/**
* @var mixed
*/
private $creditId;

public static $properties = array(
'id',
'credit_id',
'cast_id',
'name',
'character',
Expand Down Expand Up @@ -100,4 +106,23 @@ public function getCastId()
{
return $this->castId;
}

/**
* @param mixed $creditId
* @return $this
*/
public function setCreditId($creditId)
{
$this->creditId = $creditId;

return $this;
}

/**
* @return mixed
*/
public function getCreditId()
{
return $this->creditId;
}
}
25 changes: 25 additions & 0 deletions lib/Tmdb/Model/Person/CrewMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,14 @@ class CrewMember extends AbstractMember implements PersonInterface
*/
private $job;

/**
* @var mixed
*/
private $creditId;

public static $properties = array(
'id',
'credit_id',
'name',
'department',
'job',
Expand Down Expand Up @@ -75,4 +81,23 @@ public function getJob()
{
return $this->job;
}

/**
* @param mixed $creditId
* @return $this
*/
public function setCreditId($creditId)
{
$this->creditId = $creditId;

return $this;
}

/**
* @return mixed
*/
public function getCreditId()
{
return $this->creditId;
}
}

0 comments on commit 20a3507

Please sign in to comment.