PartKeepr\SetupBundle\Services\ConfigSetupService::getAuthKey PHP Method

getAuthKey() public method

public getAuthKey ( )
    public function getAuthKey()
    {
        $findText = 'Your auth key is: ';
        $data = file_get_contents($this->getAuthKeyPath());
        $position = strpos($data, $findText);
        return substr($data, $position + strlen($findText), self::KEY_LENGTH);
    }