PHP Class Lemon\RestBundle\Object\Envelope\EnvelopeFactory

Show file Open project: stanlemon/rest-bundle Class Usage Examples

Protected Properties

Property Type Description
$envelope string

Public Methods

Method Description
__construct ( string $envelope )
create ( mixed $payload ) : Lemon\RestBundle\Object\Envelope

Method Details

__construct() public method

public __construct ( string $envelope )
$envelope string

create() public method

public create ( mixed $payload ) : Lemon\RestBundle\Object\Envelope
$payload mixed
return Lemon\RestBundle\Object\Envelope

Property Details

$envelope protected property

protected string $envelope
return string