/** * @param string $name * @param DataOject $object The object that this is primary key for (should have a relation with $name) */ public function __construct($name = null, $object) { $this->object = $object; parent::__construct($name); }
public function __construct($name) { parent::__construct($name); $this->service = Injector::inst()->get('AtRestCryptoService'); }
function __construct($name, $object = null) { $this->object = $object; parent::__construct($name); }