Skip to content

Commit 4eb5095

Browse files
committed
Change base extractor
1 parent 57fa573 commit 4eb5095

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/Extractors/Extractor.php

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,27 @@
77
abstract class Extractor extends Step
88
{
99
/**
10-
* Extract data from an input.
10+
* The extractor input.
11+
*
12+
* @var mixed
13+
*/
14+
protected $input;
15+
16+
/**
17+
* Set the extractor input.
18+
*
19+
* @param mixed $input
20+
* @return $this
21+
*/
22+
public function input($input)
23+
{
24+
$this->input = $input;
25+
26+
return $this;
27+
}
28+
29+
/**
30+
* Extract data from the input.
1131
*
1232
* @return \Generator
1333
*/

0 commit comments

Comments
 (0)