\Charcoal\ObjectContentInterface

Content Interface, based on charcoal/model/model-interface.

Summary

Methods
Constants
setActive()
active()
setPosition()
position()
setCreated()
created()
setCreatedBy()
createdBy()
setLastModified()
lastModified()
setLastModifiedBy()
lastModifiedBy()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setActive()

setActive(boolean  $active) : \Charcoal\Object\Content

Parameters

boolean $active

The active flag.

Returns

\Charcoal\Object\Content

Chainable

active()

active() : boolean

Returns

boolean

setPosition()

setPosition(integer  $position) : \Charcoal\Object\Content

Parameters

integer $position

The position index.

Returns

\Charcoal\Object\Content

Chainable

position()

position() : integer

Returns

integer

setCreated()

setCreated(\DateTimeInterface|string|null  $created) : \Charcoal\Object\Content

Parameters

\DateTimeInterface|string|null $created

The created date.

Returns

\Charcoal\Object\Content

Chainable

created()

created() : \DateTimeInterface|null

Returns

\DateTimeInterface|null

setCreatedBy()

setCreatedBy(mixed  $createdBy) : \Charcoal\Object\Content

Parameters

mixed $createdBy

The author, at object creation.

Returns

\Charcoal\Object\Content

Chainable

createdBy()

createdBy() : mixed

Returns

mixed

setLastModified()

setLastModified(\DateTimeInterface|string|null  $lastModified) : \Charcoal\Object\Content

Parameters

\DateTimeInterface|string|null $lastModified

The last modified date.

Returns

\Charcoal\Object\Content

Chainable

lastModified()

lastModified() : \DateTimeInterface|null

Returns

\DateTimeInterface|null

setLastModifiedBy()

setLastModifiedBy(mixed  $lastModifiedBy) : \Charcoal\Object\Content

Parameters

mixed $lastModifiedBy

The author, at object modificaition (update).

Returns

\Charcoal\Object\Content

Chainable

lastModifiedBy()

lastModifiedBy() : mixed

Returns

mixed