Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add phpdoc for available facade methods #104

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions src/Facades/Vimeo.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,30 @@
namespace Vimeo\Laravel\Facades;

use Illuminate\Support\Facades\Facade;
use \Vimeo\Vimeo as Connection;

/**
* This is the Vimeo facade class.
*
* @author Vincent Klaiber <[email protected]>
*
* @method static Connection connection(string $name = null)
* @method static Connection reconnect(string $name = null)
* @method static void disconnect(string $name = null)
* @method static array getConnectionConfig(string $name = null)
* @method static string getDefaultConnection()
* @method static void setDefaultConnection(string $name)
* @method static void extend(string $name, callable $resolver)
* @method static array<Connection> getConnections()
*
* @method static array request($url, array $params = [], string $method = 'GET', bool $json_body = true, array $headers = [])
* @method static void setCURLOptions(array $curl_opts = array())
* @method static void setProxy(string $proxy_address, string $proxy_port = null, string $proxy_userpwd = null)
* @method static array accessToken(string $code, string $redirect_uri)
* @method static string upload(string $file_path, array $params = [])
* @method static string replace(string $video_uri, string $file_path, array $params = [])
* @method static string uploadImage(string $pictures_uri, string $file_path, bool $activate = false)
* @method static string uploadTexttrack(string $texttracks_uri, string $file_path, string $track_type, string $language)
*/
class Vimeo extends Facade
{
Expand Down