src/AzureAdapter.php
protected function normalize($path, $timestamp, $content = null)
    {
        $data = [
            'path' => $path,
            'timestamp' => (int) $timestamp,
            'dirname' => Util::dirname($path),
            'type' => 'file',
        ];

        if (is_string($content)) {
            $data['contents'] = $content;
        }

        return $data;
    }
protected function normalize($path, $timestamp, $content = null)
    {
        $data = [
            'path' => $path,
            'timestamp' => (int) $timestamp,
            'dirname' => Util::dirname($path),
            'type' => 'file',
        ];

        if (is_string($content)) {
            $data['contents'] = $content;
        }

        return $data;
    }
protected function normalize ( $ path , $ timestamp , $ content = null ) { $ data = [ 'path' => $ path , 'timestamp' => ( int ) $ timestamp , 'dirname' => Util :: dirname ( $ path ) , 'type' => 'file' , ] ; if ( is_string ( $ content ) ) { $ data [ 'contents' ] = $ content ; } return $ data ; }
Builds the normalized output array.

@param string $path
@param int    $timestamp
@param mixed  $content

@return array
Builds the normalized output array .