protected function createSupport(stdClass $support = null)
    {
        if (null !== $support) {
            $supportData = new ObjectAccess($support);
            $support = new SupportInformation(
                $supportData->getDefault('email'),
                $supportData->getDefault('issues'),
                $supportData->getDefault('forum'),
                $supportData->getDefault('wiki'),
                $supportData->getDefault('irc'),
                $supportData->getDefault('source'),
                $supportData->data()
            );
        }

        return $support;
    }
protected function createSupport(stdClass $support = null)
    {
        if (null !== $support) {
            $supportData = new ObjectAccess($support);
            $support = new SupportInformation(
                $supportData->getDefault('email'),
                $supportData->getDefault('issues'),
                $supportData->getDefault('forum'),
                $supportData->getDefault('wiki'),
                $supportData->getDefault('irc'),
                $supportData->getDefault('source'),
                $supportData->data()
            );
        }

        return $support;
    }
protected function createSupport ( stdClass $ support = null ) { if ( null !== $ support ) { $ supportData = new ObjectAccess ( $ support ) ; $ support = new SupportInformation ( $ supportData -> getDefault ( 'email' ) , $ supportData -> getDefault ( 'issues' ) , $ supportData -> getDefault ( 'forum' ) , $ supportData -> getDefault ( 'wiki' ) , $ supportData -> getDefault ( 'irc' ) , $ supportData -> getDefault ( 'source' ) , $ supportData -> data ( ) ) ; } return $ support ; }
Create a support information object from the supplied raw value.

@param stdClass|null $support The raw support information.

@return SupportInformation|null The newly created support information object.
Create a support information object from the supplied raw value .