Value/ValuesBag.php
public function get(string $type): array
    {
        if (!isset($this->values[$type])) {
            return [];
        }

        return $this->values[$type];
    }
public function get(string $type): array
    {
        if (!isset($this->values[$type])) {
            return [];
        }

        return $this->values[$type];
    }
public function get ( string $ type ) : array { if ( ! isset ( $ this -> values [ $ type ] ) ) { return [ ] ; } return $ this -> values [ $ type ] ; }
Get all values from a specific type.

@return ValueHolder[]
Get all values from a specific type .