1: <?php
2:
3: namespace Charcoal\App\Route;
4:
5: // Local namespace dependencies
6: use Charcoal\App\Route\RouteConfig;
7:
8: /**
9: *
10: */
11: class ScriptRouteConfig extends RouteConfig
12: {
13: /**
14: * @var array $scriptData
15: */
16: private $scriptData = [];
17:
18: /**
19: * Set the action data.
20: *
21: * @param array $scriptData The route data.
22: * @return ActionRouteConfig Chainable
23: */
24: public function setScriptData(array $scriptData)
25: {
26: $this->scriptData = $scriptData;
27: return $this;
28: }
29:
30: /**
31: * Get the action data.
32: *
33: * @return array
34: */
35: public function scriptData()
36: {
37: return $this->scriptData;
38: }
39: }
40: