Removed add_ magic method from eloquent model as this will be a 3.2 feature.

This commit is contained in:
Taylor Otwell
2012-03-26 10:56:42 -05:00
parent a915e24b62
commit ba4d1a89c8
3 changed files with 58 additions and 12 deletions

View File

@@ -96,7 +96,7 @@ abstract class Relationship extends Query {
*
* @return string
*/
protected function foreign_key()
public function foreign_key()
{
return static::foreign($this->base, $this->foreign);
}