src/Application.php
protected function resolvePaths(array $fixPaths) {
        $this->rootDir = \realpath(isset($fixPaths['rootDir']) ? $fixPaths['rootDir'] : __DIR__ . '/../../../../');
        $this->packageDir = \realpath(isset($fixPaths['packageDir']) ? $fixPaths['packageDir'] : __DIR__ . '/../');
        $this->configPath = Utils::fixPath(isset($fixPaths['configPath']) ? $fixPaths['configPath'] : '/app/');

        if($this->rootDir === false || $this->packageDir === false)
            throw new \InvalidArgumentException('Bootstrap directories do not exists or are not accessible');

        if($this['minion.usePropel']) {
            $this->propelConfigPath = \realpath(isset($fixPaths['propelConfigPath']) ? $fixPaths['propelConfigPath']
                : Utils::fixPath($this->packageDir . '/propel.php')
            );
            if($this->propelConfigPath === false)
                throw new \InvalidArgumentException('Propel configuration file in vendor Minion not found');
        }
    }
protected function resolvePaths(array $fixPaths) {
        $this->rootDir = \realpath(isset($fixPaths['rootDir']) ? $fixPaths['rootDir'] : __DIR__ . '/../../../../');
        $this->packageDir = \realpath(isset($fixPaths['packageDir']) ? $fixPaths['packageDir'] : __DIR__ . '/../');
        $this->configPath = Utils::fixPath(isset($fixPaths['configPath']) ? $fixPaths['configPath'] : '/app/');

        if($this->rootDir === false || $this->packageDir === false)
            throw new \InvalidArgumentException('Bootstrap directories do not exists or are not accessible');

        if($this['minion.usePropel']) {
            $this->propelConfigPath = \realpath(isset($fixPaths['propelConfigPath']) ? $fixPaths['propelConfigPath']
                : Utils::fixPath($this->packageDir . '/propel.php')
            );
            if($this->propelConfigPath === false)
                throw new \InvalidArgumentException('Propel configuration file in vendor Minion not found');
        }
    }
Resolve paths to navigate through project.

@param array $fixPaths User-defined path fixes

@return void

@throws \InvalidArgumentException Some paths are invalid