public function variantPath($variant = null)
    {
        $variant = $variant ?: FileHandler::ORIGINAL;

        $target = $this->getOrMakeTargetInstance();

        if ($variant == FileHandler::ORIGINAL) {
            return $target->original();
        }

        return $target->variant($variant);
    }
public function variantPath($variant = null)
    {
        $variant = $variant ?: FileHandler::ORIGINAL;

        $target = $this->getOrMakeTargetInstance();

        if ($variant == FileHandler::ORIGINAL) {
            return $target->original();
        }

        return $target->variant($variant);
    }
public function variantPath ( $ variant = null ) { $ variant = $ variant ? : FileHandler :: ORIGINAL ; $ target = $ this -> getOrMakeTargetInstance ( ) ; if ( $ variant == FileHandler :: ORIGINAL ) { return $ target -> original ( ) ; } return $ target -> variant ( $ variant ) ; }
Returns the relative storage path for a variant.

@param string|null $variant
@return string|null
Returns the relative storage path for a variant .