src/ExtractTags.php
public static function from($target)
    {
        if ($tags = static::explicitTags([$target])) {
            return $tags;
        }

        return static::modelsFor([$target])->map(function ($model) {
            return FormatModel::given($model);
        })->all();
    }
public static function from($target)
    {
        if ($tags = static::explicitTags([$target])) {
            return $tags;
        }

        return static::modelsFor([$target])->map(function ($model) {
            return FormatModel::given($model);
        })->all();
    }
public static function from ( $ target ) { if ( $ tags = static :: explicitTags ( [ $ target ] ) ) { return $ tags ; } return static :: modelsFor ( [ $ target ] ) -> map ( function ( $ model ) { return FormatModel :: given ( $ model ) ; } ) -> all ( ) ; }
Get the tags for the given object.

@param  mixed  $target
@return array
Get the tags for the given object .