src/Px.php
public function values($variable)
    {
        foreach ($this->keywordList('VALUES') as $keyword) {
            if ($keyword->subKeys[0] == $variable) {
                return $keyword->values;
            }
        }
        throw new RuntimeException(sprintf('Could not determine values of "%s".', $variable));
    }
public function values($variable)
    {
        foreach ($this->keywordList('VALUES') as $keyword) {
            if ($keyword->subKeys[0] == $variable) {
                return $keyword->values;
            }
        }
        throw new RuntimeException(sprintf('Could not determine values of "%s".', $variable));
    }
public function values ( $ variable ) { foreach ( $ this -> keywordList ( 'VALUES' ) as $ keyword ) { if ( $ keyword -> subKeys [ 0 ] == $ variable ) { return $ keyword -> values ; } } throw new RuntimeException ( sprintf ( 'Could not determine values of "%s".' , $ variable ) ) ; }
Returns a list of all possible values of a variable.

@param string $variable

@return array
Returns a list of all possible values of a variable .