src/Argument/Argument.php
public function values()
    {
        if ($this->values) {
            return $this->values;
        }
        $cast_method = 'castTo' . ucwords($this->castTo);
        return array_map([$this, $cast_method], $this->defaultValue());
    }
public function values()
    {
        if ($this->values) {
            return $this->values;
        }
        $cast_method = 'castTo' . ucwords($this->castTo);
        return array_map([$this, $cast_method], $this->defaultValue());
    }
public function values ( ) { if ( $ this -> values ) { return $ this -> values ; } $ cast_method = 'castTo' . ucwords ( $ this -> castTo ) ; return array_map ( [ $ this , $ cast_method ] , $ this -> defaultValue ( ) ) ; }
Retrieve an argument's values.

Argument values are type cast based on the value of $castTo.

@return string[]|int[]|float[]|bool[]
Retrieve an argument s values .