VuFind API Documentation

BrowscapCommand extends Command
in package

Console command: browscap

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

$cacheManager  : Manager
Cache manager
$guzzleService  : GuzzleService
Guzzle service
__construct()  : mixed
Constructor
checkCachePermissions()  : void
Display a warning message if generated files are not owned by the Apache user.
configure()  : void
Configure the command.
execute()  : int
Run the command.

Properties

Methods

checkCachePermissions()

Display a warning message if generated files are not owned by the Apache user.

protected checkCachePermissions(ConsoleLogger $logger, StorageInterface $browscapCache) : void
Parameters
$logger : ConsoleLogger

Logger (for warning output)

$browscapCache : StorageInterface

Browscap cache object

Tags
throws
Exception
throws
InvalidArgumentException
Return values
void

configure()

Configure the command.

protected configure() : void
Return values
void

execute()

Run the command.

protected execute(InputInterface $input, OutputInterface $output) : int

Note that there's also similar functionality in MaintenanceController.

Parameters
$input : InputInterface

Input object

$output : OutputInterface

Output object

Return values
int

0 for success

Search results