src/Traits/Strings/OutputPathTrait.php
public function getOutputPath() : ?string 
    {
        if ( ! $this->hasOutputPath()) {
            $this->setOutputPath($this->getDefaultOutputPath());
        }
        return $this->outputPath;
    }
public function getOutputPath() : ?string 
    {
        if ( ! $this->hasOutputPath()) {
            $this->setOutputPath($this->getDefaultOutputPath());
        }
        return $this->outputPath;
    }
public function getOutputPath ( ) : ? string { if ( ! $ this -> hasOutputPath ( ) ) { $ this -> setOutputPath ( $ this -> getDefaultOutputPath ( ) ) ; } return $ this -> outputPath ; }
Get output path

If no "output path" value has been set, this method will
set and return a default "output path" value,
if any such value is available

@see getDefaultOutputPath()

@return string|null output path or null if no output path has been set
Get output path