FluentDOM\Query\Css::getStyleProperties PHP Method

getStyleProperties() private method

Get the style properties from the first node in the Query object
private getStyleProperties ( ) : Properties | null
return FluentDOM\Query\Css\Properties | null
    private function getStyleProperties()
    {
        if (isset($this->_fd[0]) && ($node = $this->_fd[0]) instanceof \DOMElement) {
            /**
             * @var \DOMElement $node
             */
            return new Css\Properties($node->getAttribute('style'));
        }
        return NULL;
    }