OpenGraph\Opengraph::_normalizeContent PHP Method

_normalizeContent() protected method

Normalize content
protected _normalizeContent ( String $property, Mixed $content ) : Mixed
$property String
$content Mixed
return Mixed
    protected function _normalizeContent($property, $content)
    {
        if ($property == self::FB_ADMINS && is_string($content)) {
            return (array) explode(',', $content);
        }
        return $content;
    }