PHP Class SatisAdmin\Model\Repository

Author: Yohan Giarelli ([email protected])
Inheritance: implements JsonSerializable
Datei anzeigen Open project: yohang/satis-admin Class Usage Examples

Protected Properties

Property Type Description
$type string

Public Methods

Method Description
create ( string $type ) : Repository
fromArray ( array $data ) : Repository
getParams ( ) : string[]
getType ( ) : string
jsonSerialize ( ) {@inheritDoc}
setType ( string $type )

Method Details

create() public static method

public static create ( string $type ) : Repository
$type string
return Repository

fromArray() public method

public fromArray ( array $data ) : Repository
$data array
return Repository

getParams() abstract public method

abstract public getParams ( ) : string[]
return string[]

getType() public method

public getType ( ) : string
return string

jsonSerialize() public method

{@inheritDoc}
public jsonSerialize ( )

setType() public method

public setType ( string $type )
$type string

Property Details

$type protected_oe property

protected string $type
return string