PHP Class tests\helpers\Factory

显示文件 Open project: ngmy/webloyer Class Usage Examples

Public Methods

Method Description
build ( $class, $data = [] )
buildList ( $class, $dataList = [] )
create ( $class, $data = [] )
createList ( $class, $dataList = [] )

Protected Methods

Method Description
getInstance ( $class, $data = [] )

Method Details

build() public static method

public static build ( $class, $data = [] )

buildList() public static method

public static buildList ( $class, $dataList = [] )

create() public static method

public static create ( $class, $data = [] )

createList() public static method

public static createList ( $class, $dataList = [] )

getInstance() protected method

protected getInstance ( $class, $data = [] )