Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Spot
Entity
entity
Spot\Entity::entity PHP Method
Entity Class Documentation
ファイルを表示
Open project: vlucas/spot2
entity()
public
method
Helper function so entity can be accessed via relation in a more consistent manner with 'entity()' without any errors (i.e. relation will not error if it already has a loaded entity object - it just returns $this)
public
entity
( )
public function entity() { return $this; }
Entity
__construct
__destruct
__get
__isset
__set
__toString
data
dataExcept
dataModified
dataUnmodified
entity
error
errors
events
fields
get
hasErrors
initFields
isModified
isNew
jsonSerialize
mapper
primaryKey
primaryKeyField
relation
relations
scopes
set
table
tableOptions
toArray