Skip to content

Commit 9d71b62

Browse files
author
Martin Brecht-Precht
committed
Updated the DispatcherInterface
1 parent 5eb90ec commit 9d71b62

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

src/DispatcherInterface/DispatcherInterface.php

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,14 @@ interface DispatcherInterface
1313
{
1414

1515
/**
16-
* Parser constructor.
17-
*
1816
* @param HandlerInterface $markdomHandler
17+
* @return mixed
1918
*/
20-
public function __construct(HandlerInterface $markdomHandler);
19+
public function dispatchTo(HandlerInterface $markdomHandler);
2120

2221
/**
23-
* @return boolean
22+
* @return bool
2423
*/
25-
public function getDispatchCommentBlocks();
26-
27-
/**
28-
* @param boolean $dispatchCommentBlocks
29-
* @return $this
30-
*/
31-
public function setDispatchCommentBlocks($dispatchCommentBlocks);
32-
33-
/**
34-
* @param $source
35-
* @return $this
36-
*/
37-
public function process($source);
24+
public function isReusable();
3825

3926
}

0 commit comments

Comments
 (0)