Page MenuHomec4science

DivinerFileAtomizer.php
No OneTemporary

File Metadata

Created
Fri, Nov 29, 12:00

DivinerFileAtomizer.php

<?php
final class DivinerFileAtomizer extends DivinerAtomizer {
public function atomize($file_name, $file_data) {
$atom = $this->newAtom(DivinerAtom::TYPE_FILE)
->setName($file_name)
->setFile($file_name)
->setContentRaw($file_data);
return array($atom);
}
}

Event Timeline