Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit2414961

Browse files
committed
1.3.0 readiness
2 parentsb6f539d +e7f08d6 commit2414961

File tree

4 files changed

+43
-66
lines changed

4 files changed

+43
-66
lines changed

‎CHANGELOG.md‎

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5-
##1.3.0 -TBD
5+
##1.3.0 -2016-07-07
66

77
###Added
88

@@ -45,24 +45,6 @@ All notable changes to this project will be documented in this file, in reverse
4545

4646
- Nothing.
4747

48-
##1.2.4 - TBD
49-
50-
###Added
51-
52-
- Nothing.
53-
54-
###Deprecated
55-
56-
- Nothing.
57-
58-
###Removed
59-
60-
- Nothing.
61-
62-
###Fixed
63-
64-
- Nothing.
65-
6648
##1.2.3 - 2016-07-06
6749

6850
###Added

‎Module.php‎

Lines changed: 0 additions & 41 deletions
This file was deleted.

‎composer.json‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
},
3232
"extra": {
3333
"branch-alias": {
34-
"dev-master":"1.2-dev",
35-
"dev-develop":"1.3-dev"
34+
"dev-master":"1.3-dev",
35+
"dev-develop":"1.4-dev"
3636
},
3737
"zf": {
3838
"module":"ZF\\HttpCache"
@@ -41,10 +41,7 @@
4141
"autoload": {
4242
"psr-4": {
4343
"ZF\\HttpCache\\":"src/"
44-
},
45-
"classmap": [
46-
"Module.php"
47-
]
44+
}
4845
},
4946
"autoload-dev": {
5047
"psr-4": {

‎src/Module.php‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
/**
3+
* @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
4+
* @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (http://www.zend.com)
5+
*/
6+
7+
namespaceZF\HttpCache;
8+
9+
useZend\Mvc\MvcEvent;
10+
11+
class Module
12+
{
13+
/**
14+
* Provide configuration for this module.
15+
*
16+
* @return array
17+
*/
18+
publicfunctiongetConfig()
19+
{
20+
returninclude__DIR__ .'/../config/module.config.php';
21+
}
22+
23+
/**
24+
* Listen to bootstrap event.
25+
*
26+
* Attaches the HttpCacheListener to the application event manager.
27+
*
28+
* @param MvcEvent $e
29+
* @return void
30+
*/
31+
publicfunctiononBootstrap(MvcEvent$e)
32+
{
33+
$app =$e->getApplication();
34+
$em =$app->getEventManager();
35+
$sm =$app->getServiceManager();
36+
37+
$sm->get(HttpCacheListener::class)->attach($em);
38+
}
39+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp