Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (26 sloc)
541 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Illuminate\Contracts\View; | |
use Illuminate\Contracts\Support\Renderable; | |
interface View extends Renderable | |
{ | |
/** | |
* Get the name of the view. | |
* | |
* @return string | |
*/ | |
public function name(); | |
/** | |
* Add a piece of data to the view. | |
* | |
* @param string|array $key | |
* @param mixed $value | |
* @return $this | |
*/ | |
public function with($key, $value = null); | |
/** | |
* Get the array of view data. | |
* | |
* @return array | |
*/ | |
public function getData(); | |
} |