PHP Class Phrozn\Provider\Factory

Author: Victor Farazdagi
Show file Open project: farazdagi/phrozn Class Usage Examples

Public Methods

Method Description
create ( string $type, mixed $data ) Create provider instance

Method Details

create() public method

Create provider instance
public create ( string $type, mixed $data )
$type string Provider typ to initialize
$data mixed Provider data return \Phrozn\Provider