ElementBase::getProperties()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
nc 1
1
<?php
2
3
namespace Fusonic\OpenGraph\Elements;
4
5
/**
6
 * Abstract base class for all OpenGraph elements (e.g. images, videos etc.)
7
 */
8
abstract class ElementBase
9
{
10 4
    protected function __construct()
11
    {
12 4
    }
13
14
    /**
15
     * Gets all properties set on this element.
16
     *
17
     * @return  array|Property[]
18
     */
19
    abstract public function getProperties();
20
}
21