Skip to content
Permalink
Browse files

Adjustments as per review.

  • Loading branch information...
dereuromark committed Nov 14, 2016
1 parent c7d4415 commit e7510d8196e339578ec09b4dd64eda9147352855
Showing with 10 additions and 19 deletions.
  1. +8 −8 src/Database/Schema/TableSchema.php
  2. +2 −11 src/ORM/EagerLoadable.php
@@ -759,10 +759,10 @@ public function options($options = null)
}
/**
* Get/Set whether the table is temporary in the database
* Sets whether the table is temporary in the database.
*
* @param bool $temporary Whether or not the table is to be temporary
* @return $this TableSchema instance.
* @param bool $temporary Whether or not the table is to be temporary.
* @return $this Instance.
*/
public function setTemporary($temporary)
{
@@ -772,19 +772,19 @@ public function setTemporary($temporary)
}
/**
* Get/Set whether the table is temporary in the database
* Gets whether the table is temporary in the database.
*
* @return bool The current temporary setting
* @return bool The current temporary setting.
*/
public function getTemporary()
public function isTemporary()
{
return $this->_temporary;
}
/**
* Get/Set whether the table is temporary in the database
*
* @deprecated 3.4.0 Use setTemporary()/getTemporary() instead.
* @deprecated 3.4.0 Use setTemporary()/isTemporary() instead.
* @param bool|null $temporary whether or not the table is to be temporary
* @return $this|bool Either the TableSchema instance, the current temporary setting
*/
@@ -794,7 +794,7 @@ public function temporary($temporary = null)
return $this->setTemporary($temporary);
}
return $this->getTemporary();
return $this->isTemporary();
}
/**
@@ -216,22 +216,13 @@ public function setCanBeJoined($possible)
return $this;
}
/**
* Gets whether or not this level can be fetched using a join.
*
* @return bool
*/
public function getCanBeJoined()
{
return $this->_canBeJoined;
}
/**
* Sets whether or not this level can be fetched using a join.
*
* If called with no arguments it returns the current value.
*
* @deprecated 3.4.0 Use setCanBeJoined()/getCanBeJoined() instead.
* As of 3.4.0 the setter part is deprecated, use setCanBeJoined() instead.
*
* @param bool|null $possible The value to set.
* @return bool
*/

0 comments on commit e7510d8

Please sign in to comment.
You can’t perform that action at this time.