This repository has been archived by the owner on Mar 29, 2019. It is now read-only.
forked from facebookarchive/facebook-php-sdk
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from PavelJurasek/patch-1
Remove usage of Nette\Object class
- Loading branch information
Showing
15 changed files
with
37 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,9 +18,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Configuration extends Nette\Object | ||
class Configuration | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** @deprecated */ | ||
const USER_EMAIL = 'email'; | ||
/** @deprecated */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,9 +29,11 @@ | |
* | ||
* @author Naitik Shah <[email protected]> | ||
*/ | ||
class Facebook extends Nette\Object | ||
class Facebook | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* Version. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,17 +11,17 @@ | |
namespace Kdyby\Facebook; | ||
|
||
use Nette; | ||
use Tracy\Debugger; | ||
use Nette\Utils\Strings; | ||
|
||
|
||
|
||
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class Helpers extends Nette\Object | ||
class Helpers | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* Return true if this is video post. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,19 @@ | |
|
||
use Iterator; | ||
use IteratorIterator; | ||
use Nette\Object; | ||
use Nette\SmartObject; | ||
use Nette\Utils\ArrayHash; | ||
|
||
|
||
|
||
/** | ||
* @author Martin Štekl <[email protected]> | ||
*/ | ||
class ResourceIterator extends Object implements Iterator | ||
class ResourceIterator implements Iterator | ||
{ | ||
|
||
use SmartObject; | ||
|
||
/** | ||
* @var \Kdyby\Facebook\Resource\IResourceLoader | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
|
||
use IteratorAggregate; | ||
use Kdyby\Facebook\Facebook; | ||
use Nette\Object; | ||
use Nette\SmartObject; | ||
use Nette\Utils\ArrayHash; | ||
use Traversable; | ||
|
||
|
@@ -21,9 +21,11 @@ | |
/** | ||
* @author Martin Štekl <[email protected]> | ||
*/ | ||
class ResourceLoader extends Object implements IteratorAggregate, IResourceLoader | ||
class ResourceLoader implements IteratorAggregate, IResourceLoader | ||
{ | ||
|
||
use SmartObject; | ||
|
||
/** | ||
* @var \Kdyby\Facebook\Facebook | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,9 +20,11 @@ | |
/** | ||
* @author Filip Procházka <[email protected]> | ||
*/ | ||
class SignedRequest extends Nette\Object | ||
class SignedRequest | ||
{ | ||
|
||
use Nette\SmartObject; | ||
|
||
/** | ||
* Parses a signed_request and validates the signature. | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters