\jmwl\commandStub

Summary

Methods
Properties
Constants
writeToFile()
getReplacedStub()
getStub()
$stubList
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$stubList

$stubList : 

Type

Methods

writeToFile()

writeToFile(string  $name, array  $data, string  $pathname) : mixed

写入到文件

Parameters

string $name
array $data
string $pathname

Returns

mixed

getReplacedStub()

getReplacedStub(string  $name, array  $data) : string

获取替换后的数据

Parameters

string $name
array $data

Returns

string

getStub()

getStub(string  $name) : string

获取基础模板

Parameters

string $name

Returns

string