Create TwitterBridgeTweaked.php
Extends TwitterBridgeExtended to provide access to more public fields.
This commit is contained in:
parent
a0084b1060
commit
096c318d4e
1 changed files with 11 additions and 0 deletions
11
bridges/TwitterBridgeTweaked.php
Normal file
11
bridges/TwitterBridgeTweaked.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
require_once __DIR__ . '/TwitterBridgeExtended.php';
|
||||||
|
|
||||||
|
class TwitterBridgeTweaked extends TwitterBridgeExtended{
|
||||||
|
|
||||||
|
|
||||||
|
public function getUsername(){
|
||||||
|
return $this->items[0]->username;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue