platform/api/laravel/View/Engines/FileEngine.yaml
2024-09-02 10:44:11 -07:00

46 lines
1 KiB
YAML

name: FileEngine
class_comment: null
dependencies:
- name: Engine
type: class
source: Illuminate\Contracts\View\Engine
- name: Filesystem
type: class
source: Illuminate\Filesystem\Filesystem
properties:
- name: files
visibility: protected
comment: '# * The filesystem instance.
# *
# * @var \Illuminate\Filesystem\Filesystem'
methods:
- name: __construct
visibility: public
parameters:
- name: files
comment: "# * The filesystem instance.\n# *\n# * @var \\Illuminate\\Filesystem\\\
Filesystem\n# */\n# protected $files;\n# \n# /**\n# * Create a new file engine\
\ instance.\n# *\n# * @param \\Illuminate\\Filesystem\\Filesystem $files\n#\
\ * @return void"
- name: get
visibility: public
parameters:
- name: path
- name: data
default: '[]'
comment: '# * Get the evaluated contents of the view.
# *
# * @param string $path
# * @param array $data
# * @return string'
traits:
- Illuminate\Contracts\View\Engine
- Illuminate\Filesystem\Filesystem
interfaces:
- Engine