src/Recipient/RecipientFactory.php
public static function createProcessedGroupFromStdClass(\stdClass $stdGroup): ProcessedGroup
    {
        return new ProcessedGroup(
            $stdGroup->Name,
            $stdGroup->Color,
            $stdGroup->ID,
            $stdGroup->OwnerID,
            new \DateTime($stdGroup->Created),
            new \DateTime($stdGroup->Modified)
        );
    }
public static function createProcessedGroupFromStdClass(\stdClass $stdGroup): ProcessedGroup
    {
        return new ProcessedGroup(
            $stdGroup->Name,
            $stdGroup->Color,
            $stdGroup->ID,
            $stdGroup->OwnerID,
            new \DateTime($stdGroup->Created),
            new \DateTime($stdGroup->Modified)
        );
    }
public static function createProcessedGroupFromStdClass ( \ stdClass $ stdGroup ) : ProcessedGroup { return new ProcessedGroup ( $ stdGroup -> Name , $ stdGroup -> Color , $ stdGroup -> ID , $ stdGroup -> OwnerID , new \ DateTime ( $ stdGroup -> Created ) , new \ DateTime ( $ stdGroup -> Modified ) ) ; }
Takes a stdClass group and returns a ProcessedGroup.
@param \stdClass $stdGroup A single stdClass group.
@return ProcessedGroup
Takes a stdClass group and returns a ProcessedGroup .