Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91608361
DivinerFileAtomizer.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 12, 16:23
Size
303 B
Mime Type
text/x-php
Expires
Thu, Nov 14, 16:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22292351
Attached To
rPH Phabricator
DivinerFileAtomizer.php
View Options
<?php
final
class
DivinerFileAtomizer
extends
DivinerAtomizer
{
protected
function
executeAtomize
(
$file_name
,
$file_data
)
{
$atom
=
$this
->
newAtom
(
DivinerAtom
::
TYPE_FILE
)
->
setName
(
$file_name
)
->
setFile
(
$file_name
)
->
setContentRaw
(
$file_data
);
return
array
(
$atom
);
}
}
Event Timeline
Log In to Comment