Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 346 Bytes

compose-resources.md

File metadata and controls

24 lines (18 loc) · 346 Bytes

Compose resource

Class definition

Also could be defined all allowed type for a property

$composition = ComposedResources::box([
    'credentials' => Foo::box([
        'name' => 'Sam'
    ]),
]);

And $composition->properties(); will results:

array(
    'credentials' => array(
        'name' => 'Sam',
    )
);