public function configPath(?string $configPath = null) {
        if ($configPath != null) {
            $this->configPath = $configPath;
        }
        else {
            if (!isset($this->configPath)) {
                $this->configPath = $this->basePath() . DIRECTORY_SEPARATOR . "config";
            }
        }
        return $this->configPath;
    }
public function configPath(?string $configPath = null) {
        if ($configPath != null) {
            $this->configPath = $configPath;
        }
        else {
            if (!isset($this->configPath)) {
                $this->configPath = $this->basePath() . DIRECTORY_SEPARATOR . "config";
            }
        }
        return $this->configPath;
    }
public function configPath ( ? string $ configPath = null ) { if ( $ configPath != null ) { $ this -> configPath = $ configPath ; } else { if ( ! isset ( $ this -> configPath ) ) { $ this -> configPath = $ this -> basePath ( ) . DIRECTORY_SEPARATOR . "config" ; } } return $ this -> configPath ; }
Set or returns the config path
@param string|null $configPath
@return null|string
Set or returns the config path