PHP Class BrowscapPHP\Command\UpdateCommand

Author: Dave Olsen, http://dmolsen.com
Author: Thomas Müller ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: browscap/browscap-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $defaultCacheFolder )
setCache ( BrowscapPHP\Cache\BrowscapCacheInterface $cache )

Méthodes protégées

Méthode Description
configure ( ) Configures the current command.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void

Private Methods

Méthode Description
getCache ( Symfony\Component\Console\Input\InputInterface $input ) : BrowscapPHP\Cache\BrowscapCacheInterface

Method Details

__construct() public méthode

public __construct ( string $defaultCacheFolder )
$defaultCacheFolder string

configure() protected méthode

Configures the current command.
protected configure ( )

execute() protected méthode

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Résultat integer | null | void

setCache() public méthode

public setCache ( BrowscapPHP\Cache\BrowscapCacheInterface $cache )
$cache BrowscapPHP\Cache\BrowscapCacheInterface