public function setFile($key, $content = null, $mtime = null)
    {
        if (null === $mtime) {
            $mtime = time();
        }

        $this->files[$key] = array(
            'content' => (string) $content,
            'mtime' => (integer) $mtime,
        );
    }
public function setFile($key, $content = null, $mtime = null)
    {
        if (null === $mtime) {
            $mtime = time();
        }

        $this->files[$key] = array(
            'content' => (string) $content,
            'mtime' => (integer) $mtime,
        );
    }
public function setFile ( $ key , $ content = null , $ mtime = null ) { if ( null === $ mtime ) { $ mtime = time ( ) ; } $ this -> files [ $ key ] = array ( 'content' => ( string ) $ content , 'mtime' => ( integer ) $ mtime , ) ; }
Defines a file.

@param string $key     The key
@param string $content The content
@param int    $mtime   The last modified time (automatically set to now if NULL)
Defines a file .