for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Realshadow\Redtube\Endpoints;
use Illuminate\Support\Collection;
use Realshadow\Redtube\Entities\Tags;
/**
* Tag Endpoint
*
* @package Realshadow\Redtube\Endpoints
* @author Lukáš Homza <[email protected]>
*/
class TagEndpoint extends AbstractEndpoint
{
* Get all tags
* @return Collection
* @throws \RuntimeException
public function getAll()
$response = $this->call('Tags.getTagList');
return $this->serializer
->deserialize($response, Tags::class, static::OUTPUT_FORMAT)
->flatten();
}