Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4107842
StaticMethodFile.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
773 B
Referenced Files
None
Subscribers
None
StaticMethodFile.php
View Options
<?php
/*
Copyright (c) 2009 hamcrest.org
*/
class
StaticMethodFile
extends
FactoryFile
{
/**
* @var string containing method definitions
*/
private
$methods
;
public
function
__construct
(
$file
)
{
parent
::
__construct
(
$file
,
' '
);
$this
->
methods
=
''
;
}
public
function
addCall
(
FactoryCall
$call
)
{
$this
->
methods
.=
PHP_EOL
.
$this
->
generateFactoryCall
(
$call
);
}
public
function
getDeclarationModifiers
()
{
return
'public static '
;
}
public
function
build
()
{
$this
->
addFileHeader
();
$this
->
addPart
(
'matchers_imports'
);
$this
->
addPart
(
'matchers_header'
);
$this
->
addCode
(
$this
->
methods
);
$this
->
addPart
(
'matchers_footer'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Aug 18, 20:14 (2 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
de/ab/ce6632f815c3279dfe73f376f441
Default Alt Text
StaticMethodFile.php (773 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment