|
|
@@ -590,7 +590,7 @@ class Table implements RepositoryInterface, EventListenerInterface
|
|
|
* @param string $name The name of the behavior. Can be a short class reference.
|
|
|
* @param array $options The options for the behavior to use.
|
|
|
* @return void
|
|
|
- * @throws RuntimeException If a behavior is being reloaded.
|
|
|
+ * @throws \RuntimeException If a behavior is being reloaded.
|
|
|
* @see \Cake\ORM\Behavior
|
|
|
*/
|
|
|
public function addBehavior($name, array $options = [])
|
|
|
@@ -1391,7 +1391,7 @@ class Table implements RepositoryInterface, EventListenerInterface
|
|
|
* @param \Cake\Datasource\EntityInterface $entity the entity to be saved
|
|
|
* @param \ArrayObject $options the options to use for the save operation
|
|
|
* @return \Cake\Datasource\EntityInterface|bool
|
|
|
- * @throws RuntimeException When an entity is missing some of the primary keys.
|
|
|
+ * @throws \RuntimeException When an entity is missing some of the primary keys.
|
|
|
*/
|
|
|
protected function _processSave($entity, $options)
|
|
|
{
|
|
|
@@ -1472,7 +1472,7 @@ class Table implements RepositoryInterface, EventListenerInterface
|
|
|
* @param \Cake\Datasource\EntityInterface $entity the subject entity from were $data was extracted
|
|
|
* @param array $data The actual data that needs to be saved
|
|
|
* @return \Cake\Datasource\EntityInterface|bool
|
|
|
- * @throws RuntimeException if not all the primary keys where supplied or could
|
|
|
+ * @throws \RuntimeException if not all the primary keys where supplied or could
|
|
|
* be generated when the table has composite primary keys. Or when the table has no primary key.
|
|
|
*/
|
|
|
protected function _insert($entity, $data)
|
|
|
@@ -1846,7 +1846,7 @@ class Table implements RepositoryInterface, EventListenerInterface
|
|
|
*
|
|
|
* @param string $property the association name
|
|
|
* @return \Cake\ORM\Association
|
|
|
- * @throws RuntimeException if no association with such name exists
|
|
|
+ * @throws \RuntimeException if no association with such name exists
|
|
|
*/
|
|
|
public function __get($property)
|
|
|
{
|