Skip to content

Commit

Permalink
update inline doc
Browse files Browse the repository at this point in the history
  • Loading branch information
madcoda committed Nov 2, 2016
1 parent 5edda35 commit 31e9613
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

namespace Madcoda;

/**
* This is an alias class to Madcoda\Youtube\Youtube
* for backward compatibility, you should use Madcoda\Youtube\Youtube from now on
*/
class Youtube extends Youtube\Youtube {}
//class_alias('Madcoda\\Youtube', 'Madcode\\Youtube\\Youtube');
2 changes: 2 additions & 0 deletions test/YoutubeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class YoutubeTest extends \PHPUnit_Framework_TestCase

public function setUp()
{
// !!!!! DO NOT USE THIS API KEY FOR PRODUCTION USE !!!!! */
$TEST_API_KEY = 'AIzaSyDDefsgXEZu57wYgABF7xEURClu4UAzyB8';
// !!!!! THIS KEY WOULD BE REVOKED BY AUTHOR ANYTIME !!!!! */
$this->youtube = new Youtube(array('key' => $TEST_API_KEY));
}

Expand Down

0 comments on commit 31e9613

Please sign in to comment.