artesaos/seotools

View on GitHub
src/SEOTools/Facades/OpenGraph.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Artesaos\SEOTools\Facades;

use Illuminate\Support\Facades\Facade;

/**
 * OpenGraph is a facade for the `OpenGraph` implementation access.
 *
 * @see \Artesaos\SEOTools\Contracts\OpenGraph
 *
 * @method static string generate(bool $minify = false)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph addProperty(string $key, string|array $value)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph removeProperty(string $key)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph addImage(string $url, array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph addImages(array $urls)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setTitle(string $title)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setDescription(string $description)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setUrl(string $url)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setSiteName(string $name)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setType(string|null $type = null)
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setArticle(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setProfile(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setMusicSong(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setMusicAlbum(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setMusicPlaylist(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setMusicRadioStation(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setVideoMovie(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setVideoEpisode(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setVideoOther(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setVideoTVShow(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph setBook(array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph addVideo(string|null $source = null, array $attributes = [])
 * @method static \Artesaos\SEOTools\Contracts\OpenGraph addAudio(string|null $source = null, array $attributes = [])
 */
class OpenGraph extends Facade
{
    /**
     * {@inheritdoc}
     */
    protected static function getFacadeAccessor()
    {
        return 'seotools.opengraph';
    }
}