src/Traits/Filesystem/CloudStorageTrait.php
public function getCloudStorage(): ?Cloud
    {
        if (!$this->hasCloudStorage()) {
            $this->setCloudStorage($this->getDefaultCloudStorage());
        }
        return $this->cloudStorage;
    }
public function getCloudStorage(): ?Cloud
    {
        if (!$this->hasCloudStorage()) {
            $this->setCloudStorage($this->getDefaultCloudStorage());
        }
        return $this->cloudStorage;
    }
public function getCloudStorage ( ) : ? Cloud { if ( ! $ this -> hasCloudStorage ( ) ) { $ this -> setCloudStorage ( $ this -> getDefaultCloudStorage ( ) ) ; } return $ this -> cloudStorage ; }
Get cloud storage

If no cloud storage has been set, this method will
set and return a default cloud storage, if any such
value is available

@see getDefaultCloudStorage()

@return Cloud|null cloud storage or null if none cloud storage has been set
Get cloud storage