public static function files(array $listOfFiles)
    {
        $listOfContents = array();
        foreach ($listOfFiles as $key => $filepath) {
            $listOfContents[$key] = self::file($filepath);
        }
        return $listOfContents;
    }
public static function files(array $listOfFiles)
    {
        $listOfContents = array();
        foreach ($listOfFiles as $key => $filepath) {
            $listOfContents[$key] = self::file($filepath);
        }
        return $listOfContents;
    }
public static function files ( array $ listOfFiles ) { $ listOfContents = array ( ) ; foreach ( $ listOfFiles as $ key => $ filepath ) { $ listOfContents [ $ key ] = self :: file ( $ filepath ) ; } return $ listOfContents ; }
Creates an array of objects from multiple files
@param  array  $listOfFiles List of file paths
@return array
Creates an array of objects from multiple files