手记

CompilerInterface.php

<?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

}

0人推荐
随时随地看视频
慕课网APP