PHP Class Newscoop\Installer\Services\FinishService

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$filesystem
$newscoopDir

Public Methods

Method Description
__construct ( ) Construct
createDefaultOauthClient ( $alias ) Create default oauth client
generateProxies ( ) Generate proxies for entities
installAssets ( ) Install bundle assets
reloadRenditions ( ) Reload themes reditions in datbase
saveCronjobs ( Newscoop\SchedulerServiceInterface $scheduler ) : bolean Save newscoop cronjobs in user cronjob file
saveInstanceConfig ( array $config, Connection $connection ) Save instance config (to files and database)
setupHtaccess ( ) : array Makes backup of current .htaccess file and copy the latest one

Method Details

__construct() public method

Construct
public __construct ( )

createDefaultOauthClient() public method

Create default oauth client
public createDefaultOauthClient ( $alias )

generateProxies() public method

Generate proxies for entities
public generateProxies ( )

installAssets() public method

Install bundle assets
public installAssets ( )

reloadRenditions() public method

Reload themes reditions in datbase
public reloadRenditions ( )

saveCronjobs() public method

Save newscoop cronjobs in user cronjob file
public saveCronjobs ( Newscoop\SchedulerServiceInterface $scheduler ) : bolean
$scheduler Newscoop\SchedulerServiceInterface Cron job scheduler service
return bolean

saveInstanceConfig() public method

Save instance config (to files and database)
public saveInstanceConfig ( array $config, Connection $connection )
$config array
$connection Connection

setupHtaccess() public method

Makes backup of current .htaccess file and copy the latest one
public setupHtaccess ( ) : array
return array

Property Details

$filesystem protected_oe property

protected $filesystem

$newscoopDir protected_oe property

protected $newscoopDir