src/Collection/CollectionFlattener.php
public function flatKeys(array $keys): array
    {
        $this->search = $keys;
        return $this->flatCollection($this->collection->toArray());
    }
public function flatKeys(array $keys): array
    {
        $this->search = $keys;
        return $this->flatCollection($this->collection->toArray());
    }
public function flatKeys ( array $ keys ) : array { $ this -> search = $ keys ; return $ this -> flatCollection ( $ this -> collection -> toArray ( ) ) ; }
Flat multiple keys names
@param array $keys
@return array
Flat multiple keys names