concrete/src/Install/Installer.php
public function getStartingPoint($fallbackToDefault)
    {
        $handle = $this->getOptions()->getStartingPointHandle();
        if ($handle === '') {
            if (!$fallbackToDefault) {
                throw new UserMessageException(t('The starting point has not been defined.'));
            }
            $handle = static::DEFAULT_STARTING_POINT;
        }
        $result = StartingPointPackage::getClass($handle);
        if ($result === null) {
            throw new UserMessageException(t('Invalid starting point: %s', $handle));
        }
        $result->setInstallerOptions($this->getOptions());

        return $result;
    }
public function getStartingPoint($fallbackToDefault)
    {
        $handle = $this->getOptions()->getStartingPointHandle();
        if ($handle === '') {
            if (!$fallbackToDefault) {
                throw new UserMessageException(t('The starting point has not been defined.'));
            }
            $handle = static::DEFAULT_STARTING_POINT;
        }
        $result = StartingPointPackage::getClass($handle);
        if ($result === null) {
            throw new UserMessageException(t('Invalid starting point: %s', $handle));
        }
        $result->setInstallerOptions($this->getOptions());

        return $result;
    }
public function getStartingPoint ( $ fallbackToDefault ) { $ handle = $ this -> getOptions ( ) -> getStartingPointHandle ( ) ; if ( $ handle === '' ) { if ( ! $ fallbackToDefault ) { throw new UserMessageException ( t ( 'The starting point has not been defined.' ) ) ; } $ handle = static :: DEFAULT_STARTING_POINT ; } $ result = StartingPointPackage :: getClass ( $ handle ) ; if ( $ result === null ) { throw new UserMessageException ( t ( 'Invalid starting point: %s' , $ handle ) ) ; } $ result -> setInstallerOptions ( $ this -> getOptions ( ) ) ; return $ result ; }
Get the StartingPointPackage instance.

@param bool $fallbackToDefault Fallback to the default one if the starting point handle is not defined?

@throws UserMessageException

@return StartingPointPackage
Get the StartingPointPackage instance .