-
Notifications
You must be signed in to change notification settings - Fork 212
/
Copy pathBlog.php
40 lines (37 loc) · 923 Bytes
/
Blog.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* Created by PhpStorm.
* @author Tareq Mahmood <tareqtms@yahoo.com>
* Created at 8/18/16 10:46 AM UTC+06:00
*
* @see https://help.shopify.com/api/reference/blog Shopify API Reference for Blog
*/
namespace PHPShopify;
/**
* --------------------------------------------------------------------------
* Blog -> Child Resources
* --------------------------------------------------------------------------
* @property-read Article $Article
* @property-read Event $Event
* @property-read Metafield $Metafield
*
* @method Article Article(integer $id = null)
* @method Event Event(integer $id = null)
* @method Metafield Metafield(integer $id = null)
*
*/
class Blog extends ShopifyResource
{
/**
* @inheritDoc
*/
public $resourceKey = 'blog';
/**
* @inheritDoc
*/
protected $childResource = array(
'Article',
'Event',
'Metafield',
);
}