Factory/StreamFactory.php
public function createStreams(array $streams)
    {
        $tmp = [];
        foreach ($streams as $entry) {
            $tmp[] = $this->createEntity($entry);
        }

        return $tmp;
    }
public function createStreams(array $streams)
    {
        $tmp = [];
        foreach ($streams as $entry) {
            $tmp[] = $this->createEntity($entry);
        }

        return $tmp;
    }
@param array $streams

@return array