Overview

Namespaces

  • Baguette
    • Mastodon
      • Config
      • Entity
      • Grant
      • Service
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
  • Psr
    • Http
      • Message
  • Teto
    • Object

Classes

  • Account
  • Application
  • Attachment
  • Card
  • Context
  • Entity
  • Error_
  • Instance
  • Mention
  • Notification
  • Status
  • Tag

Constants

  • DATETIME_FORMAT

Functions

  • map
  • mapValues
  • toArrayValue
  • Overview
  • Namespace
  • Class

Class Mention

Mention

Baguette\Mastodon\Entity\Entity implements Teto\Object\ToArrayInterface
Extended by Baguette\Mastodon\Entity\Mention uses Teto\Object\TypedProperty
Namespace: Baguette\Mastodon\Entity
Copyright: 2017 Baguette HQ
License: GPL-3.0
Author: USAMI Kenta tadsan@zonu.me
See: https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#mention
Located at Entity/Mention.php
Methods summary
public
# __construct( array $properties )
public array
# toArray( )

Returns mention data as array

Returns mention data as array

Returns

array
Methods used from Teto\Object\TypedProperty
__get(), __isset(), __set(), __unset()
Magic properties summary
public read-only string $url

URL of user's profile (can be remote)

public read-only string $username

The username of the account

public read-only string $acct

Equals username for local users, includes @domain for remote ones

public read-only integer $id

Account ID

ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen