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 Card

Card

Baguette\Mastodon\Entity\Entity implements Teto\Object\ToArrayInterface
Extended by Baguette\Mastodon\Entity\Card 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#card
Located at Entity/Card.php
Methods summary
public
# __construct( array $properties )
public array
# toArray( )

Returns attachment data as array

Returns attachment data as array

Returns

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

The url associated with the card

public read-only string $title

The title of the card

public read-only string $description

The card description

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