Spatie\MediaLibrary\Conversion\ConversionCollection::getConversions PHP Метод

getConversions() публичный Метод

Get all the conversions in the collection.
public getConversions ( string $collectionName = '' )
$collectionName string
    public function getConversions(string $collectionName = '')
    {
        if ($collectionName === '') {
            return $this;
        }
        return $this->filter(function (Conversion $conversion) use($collectionName) {
            return $conversion->shouldBePerformedOn($collectionName);
        });
    }