public function basePath(?string $basePath = null) {
        if ($basePath != null) {
            $this->basePath = $basePath;
        }
        return $this->basePath;
    }
public function basePath(?string $basePath = null) {
        if ($basePath != null) {
            $this->basePath = $basePath;
        }
        return $this->basePath;
    }
public function basePath ( ? string $ basePath = null ) { if ( $ basePath != null ) { $ this -> basePath = $ basePath ; } return $ this -> basePath ; }
Set or returns the application base path
@param string|null $basePath
@return mixed
Set or returns the application base path