1 | <?php namespace Anomaly\Streams\Platform\Entry; |
||
16 | class EntryFactory |
||
17 | { |
||
18 | |||
19 | use DispatchesJobs; |
||
20 | use FiresCallbacks; |
||
21 | |||
22 | /** |
||
23 | * The hydrator utility. |
||
24 | * |
||
25 | * @var Hydrator |
||
26 | */ |
||
27 | protected $hydrator; |
||
28 | |||
29 | /** |
||
30 | * The service container. |
||
31 | * |
||
32 | * @var Container |
||
33 | */ |
||
34 | protected $container; |
||
35 | |||
36 | /** |
||
37 | * Create a new StreamPluginFunctions instance. |
||
38 | * |
||
39 | * @param Hydrator $hydrator |
||
40 | * @param Container $container |
||
41 | */ |
||
42 | public function __construct(Hydrator $hydrator, Container $container) |
||
47 | |||
48 | /** |
||
49 | * Make a new EntryBuilder instance. |
||
50 | * |
||
51 | * @param $namespace |
||
52 | * @param $stream |
||
53 | * @param string $method |
||
54 | * @return EntryCriteria|null |
||
55 | */ |
||
56 | public function make($namespace, $stream, $method = 'get') |
||
79 | } |
||
80 |