| 1 | <?php |
||
| 16 | class Initial_State { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The connection manager object. |
||
| 20 | * |
||
| 21 | * @var Manager |
||
| 22 | */ |
||
| 23 | private $manager; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * The constructor. |
||
| 27 | */ |
||
| 28 | public function __construct() { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get the initial state data. |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | private function get_data() { |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Render the initial state into a JavaScript variable. |
||
| 45 | * |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function render() { |
||
| 51 | |||
| 52 | } |
||
| 53 |