src/Util/Output.php
protected function getWriters($keys)
    {
        $writers = array_flip(Helper::toArray($keys));

        return Helper::flatten(array_intersect_key($this->writers, $writers));
    }
protected function getWriters($keys)
    {
        $writers = array_flip(Helper::toArray($keys));

        return Helper::flatten(array_intersect_key($this->writers, $writers));
    }
protected function getWriters ( $ keys ) { $ writers = array_flip ( Helper :: toArray ( $ keys ) ) ; return Helper :: flatten ( array_intersect_key ( $ this -> writers , $ writers ) ) ; }
Get the writers based on their keys

@param string|array $keys

@return array
Get the writers based on their keys