PHP Class BrowscapPHP\Command\ConvertCommand

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

Public Methods

Method Description
__construct ( string $defaultCacheFolder, string $defaultIniFile )
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, string $defaultIniFile )
$defaultCacheFolder string
$defaultIniFile 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