Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Jiří Ferkl
WebLoader
Commits
35d436ef
Commit
35d436ef
authored
6 years ago
by
Pavel Linhart
Browse files
Options
Download
Patches
Plain Diff
Add missing files...
parent
5a8904a0
master
nette-3.0
2.6.1
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
WebLoader/File.php
+55
-0
WebLoader/File.php
tests/fixtures/extensionAbsoluteUrlFalse.neon
+3
-0
tests/fixtures/extensionAbsoluteUrlFalse.neon
tests/fixtures/extensionAbsoluteUrlTrue.neon
+3
-0
tests/fixtures/extensionAbsoluteUrlTrue.neon
with
61 additions
and
0 deletions
+61
-0
WebLoader/File.php
0 → 100755
+
55
−
0
View file @
35d436ef
<?php
declare
(
strict_types
=
1
);
namespace
WebLoader
;
class
File
{
/**
* @var string
*/
protected
$file
;
/**
* @var int
*/
protected
$lastModified
=
null
;
/**
* @var array
*/
protected
$sourceFiles
;
public
function
__construct
(
string
$file
,
?int
$lastModified
,
array
$sourceFiles
)
{
$this
->
file
=
$file
;
$this
->
lastModified
=
$lastModified
;
$this
->
sourceFiles
=
$sourceFiles
;
}
public
function
getFile
():
string
{
return
$this
->
file
;
}
public
function
getLastModified
():
?int
{
return
$this
->
lastModified
;
}
public
function
getSourceFiles
():
array
{
return
$this
->
sourceFiles
;
}
}
This diff is collapsed.
Click to expand it.
tests/fixtures/extensionAbsoluteUrlFalse.neon
0 → 100755
+
3
−
0
View file @
35d436ef
webloader:
jsDefaults:
absoluteUrl: false
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/fixtures/extensionAbsoluteUrlTrue.neon
0 → 100755
+
3
−
0
View file @
35d436ef
webloader:
jsDefaults:
absoluteUrl: true
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets