PHP Trait Disque\Command\Argument\OptionChecker

Mostrar archivo Open project: mariano/disque-php

Protected Methods

Method Description
checkOptionsArray ( array $options, array $keys ) Checks an array so that their keys are arrays
checkOptionsInt ( array $options, array $keys ) Checks an array so that their keys are ints
checkOptionsString ( array $options, array $keys ) Checks an array so that their keys are strings

Method Details

checkOptionsArray() protected method

Checks an array so that their keys are arrays
protected checkOptionsArray ( array $options, array $keys )
$options array Options
$keys array Keys to check

checkOptionsInt() protected method

Checks an array so that their keys are ints
protected checkOptionsInt ( array $options, array $keys )
$options array Options
$keys array Keys to check

checkOptionsString() protected method

Checks an array so that their keys are strings
protected checkOptionsString ( array $options, array $keys )
$options array Options
$keys array Keys to check