1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php
namespace Catapult;
/**
* Loads resource will figure
* out what's needed for the object
* on load. Also how to load the object
*
* init => 'id_of_init'
* id => 'id capable'
* primary => 'primary method on create'
*
*
*/
final class LoadsResource extends BaseResource {
public function __construct($args) {
$this->init = $args['init'];
$this->id = $args['id'];
$this->primary = $args['primary'];
$this->silent = $args['silent'];
}
}