Skip to content

Commit 488b421

Browse files
committed
Adds message factory aware interface
1 parent 739863d commit 488b421

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

src/Message/MessageFactoryAware.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the Http Adapter package.
5+
*
6+
* (c) Eric GELOEN <[email protected]>
7+
*
8+
* For the full copyright and license information, please read the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Http\Adapter\Message;
13+
14+
/**
15+
* @author Márk Sági-Kazár <[email protected]>
16+
*/
17+
interface MessageFactoryAware
18+
{
19+
/**
20+
* Returns a Message Factory
21+
*
22+
* @return MessageFactory
23+
*/
24+
public function getMessageFactory();
25+
26+
/**
27+
* Sets a Message Factory
28+
*
29+
* @param MessageFactory $messageFactory
30+
*/
31+
public function setMessageFactory(MessageFactory $messageFactory);
32+
}

0 commit comments

Comments
 (0)