<?php
namespace Illuminate\View\Compilers;
interface CompilerInterface
{// a interface
/**
* Get the path to the compiled version of a view.
*
* @param string $path
* @return string
*/
public function getCompiledPath($path);// a function
/**
* Determine if the given view is expired.
*
* @param string $path
* @return bool
*/
public function isExpired($path);// a is Expired
/**
* Compile the view at the given path.
*
* @param string $path
* @return void
*/
public function compile($path);//compile
}
共同學(xué)習(xí),寫(xiě)下你的評(píng)論
評(píng)論加載中...
作者其他優(yōu)質(zhì)文章
100積分直接送
付費(fèi)專(zhuān)欄免費(fèi)學(xué)
大額優(yōu)惠券免費(fèi)領(lǐng)