Engine.php
2 years ago
Factory.php
2 years ago
View.php
2 years ago
ViewCompilationException.php
3 weeks ago
View.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\View; |
| 4 | |
| 5 | use IAWPSCOPED\Illuminate\Contracts\Support\Renderable; |
| 6 | /** @internal */ |
| 7 | interface View extends Renderable |
| 8 | { |
| 9 | /** |
| 10 | * Get the name of the view. |
| 11 | * |
| 12 | * @return string |
| 13 | */ |
| 14 | public function name(); |
| 15 | /** |
| 16 | * Add a piece of data to the view. |
| 17 | * |
| 18 | * @param string|array $key |
| 19 | * @param mixed $value |
| 20 | * @return $this |
| 21 | */ |
| 22 | public function with($key, $value = null); |
| 23 | /** |
| 24 | * Get the array of view data. |
| 25 | * |
| 26 | * @return array |
| 27 | */ |
| 28 | public function getData(); |
| 29 | } |
| 30 |