Overview

Namespaces

  • rsanchez
    • Deep
      • App
        • EE
        • Laravel
          • Facade
      • Collection
      • Hydrator
      • Model
      • Plugin
      • Relations
      • Repository

Classes

  • AbstractEntity
  • AbstractField
  • AbstractProperty
  • Asset
  • Category
  • CategoryField
  • CategoryPosts
  • Channel
  • Comment
  • Entry
  • Field
  • Fieldtype
  • File
  • GridCol
  • GridRow
  • JoinableScope
  • MatrixCol
  • MatrixRow
  • Member
  • MemberField
  • PlayaEntry
  • RelationshipEntry
  • Site
  • Title
  • UploadPref

Interfaces

  • FileInterface

Traits

  • GlobalAttributeVisibilityTrait
  • JoinableTrait
  • Overview
  • Namespace
  • Class
  • Tree

Class Comment

Model for the comments table

Illuminate\Database\Eloquent\Model
Extended by rsanchez\Deep\Model\Comment
Namespace: rsanchez\Deep\Model
Located at Model/Comment.php
Methods summary
public Illuminate\Database\Eloquent\Relations\HasOne
# author( )

Define the Author Eloquent relationship

Define the Author Eloquent relationship

Returns

Illuminate\Database\Eloquent\Relations\HasOne
public Carbon\Carbon
# getCommentDateAttribute( integer $value )

Get the comment_date column as a Carbon object

Get the comment_date column as a Carbon object

Parameters

$value
integer
$value unix time

Returns

Carbon\Carbon
public Carbon\Carbon|null
# getEditDateAttribute( integer $value )

Get the edit_date column as a Carbon object

Get the edit_date column as a Carbon object

Parameters

$value
integer
$value unix time

Returns

Carbon\Carbon|null
Properties summary
protected string $table 'comments'
#
protected string $primaryKey 'comment_id'
#
API documentation generated by ApiGen 2.8.0