src/Valuestore.php
public function allStartingWith(string $startingWith = '') : array
    {
        $values = $this->all();

        if ($startingWith === '') {
            return $values;
        }

        return $this->filterKeysStartingWith($values, $startingWith);
    }
public function allStartingWith(string $startingWith = '') : array
    {
        $values = $this->all();

        if ($startingWith === '') {
            return $values;
        }

        return $this->filterKeysStartingWith($values, $startingWith);
    }
public function allStartingWith ( string $ startingWith = '' ) : array { $ values = $ this -> all ( ) ; if ( $ startingWith === '' ) { return $ values ; } return $ this -> filterKeysStartingWith ( $ values , $ startingWith ) ; }
Get all keys starting with a given string from the store.

@param string $startingWith

@return array
Get all keys starting with a given string from the store .