PHP Class BrowscapPHP\Command\UpdateCommand

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

Public Methods

Method Description
__construct ( string $defaultCacheFolder )
setCache ( BrowscapPHP\Cache\BrowscapCacheInterface $cache )

Protected Methods

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

Private Methods

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

Method Details

__construct() public method

public __construct ( string $defaultCacheFolder )
$defaultCacheFolder string

configure() protected method

Configures the current command.
protected configure ( )

execute() protected method

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
return integer | null | void

setCache() public method

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