PHP Class Horde_Push_Recipient_Twitter, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Push_Recipient_Base
Show file Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Service_Twitter $twitter, $client = null ) Constructor.
push ( Horde_Push $content, array $options = [] ) : string Push content to the recipient.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Service_Twitter $twitter, $client = null )
$twitter Horde_Service_Twitter The twitter client.

push() public method

Push content to the recipient.
public push ( Horde_Push $content, array $options = [] ) : string
$content Horde_Push The content element.
$options array Additional options.
return string The result description.