Permalink
Browse files

Add attribute (readSourceId, writeSourceId) to runtime schema class

  • Loading branch information...
c9s committed Apr 15, 2012
1 parent 3a80056 commit 118c6deb41cbdcf8baafdb5287c7fbca6cd7d526
Showing with 15 additions and 1 deletion.
  1. +0 −1 src/LazyRecord/Schema/RuntimeSchema.php
  2. +15 −0 src/LazyRecord/Schema/SchemaBase.php
@@ -66,5 +66,4 @@ public function newCollection()
return new $this->collectionClass;
}
-
}
@@ -24,6 +24,21 @@
public $primaryKey;
+ public $readSourceId = 'default';
+
+ public $writeSourceId = 'default';
+
+
+ public function getReadSourceId()
+ {
+ return $this->readSourceId;
+ }
+
+ public function getWriteSourceId()
+ {
+ return $this->writeSourceId;
+ }
+
public function getRelation($relationId)
{

0 comments on commit 118c6de

Please sign in to comment.