public static function getActivityProfileDocument(DocumentData $documentData = null)
    {
        if (null === $documentData) {
            $documentData = static::getDocumentData();
        }

        $activityProfile = new ActivityProfile('profile-id', new Activity(IRI::fromString('activity-id')));

        return new ActivityProfileDocument($activityProfile, $documentData);
    }
public static function getActivityProfileDocument(DocumentData $documentData = null)
    {
        if (null === $documentData) {
            $documentData = static::getDocumentData();
        }

        $activityProfile = new ActivityProfile('profile-id', new Activity(IRI::fromString('activity-id')));

        return new ActivityProfileDocument($activityProfile, $documentData);
    }
public static function getActivityProfileDocument ( DocumentData $ documentData = null ) { if ( null === $ documentData ) { $ documentData = static :: getDocumentData ( ) ; } $ activityProfile = new ActivityProfile ( 'profile-id' , new Activity ( IRI :: fromString ( 'activity-id' ) ) ) ; return new ActivityProfileDocument ( $ activityProfile , $ documentData ) ; }
Loads an activity profile document.

@param DocumentData $documentData The document data, by default, a some
default data will be used

@return ActivityProfileDocument
Loads an activity profile document .