<commit_before><?php

namespace SocialMedia\Objects;

/*
 * This file is part of the Social Pushing from <NAME>.
 *
 * For the full copyright and license information, please view the license
 * file that was distributed with this source code.
 */

/**
 * Social Media Service where we are going to publish/unpublish to.
 *
 * @author <NAME> <<EMAIL>>
 */
class Service
{
    protected $api;

    /**
     * Construct
     *
     * @param mixed $api
     */
    public function __construct(
        $api
    ) {
        $this->setApi($api);
    }

    /**
     * Get API
     *
     * @param mixed
     */
    public function getApi()
    {
        return $this->api;
    }

    /**
     * Set API
     *
     * @return mixed
     */
    public function setApi($api)
    {
        $this->api = $api;
    }
}<commit_msg>Publish/Unpublish added to Service class<commit_after><?php

namespace SocialMedia\Objects;

/*
 * This file is part of the Social Pushing from <NAME>.
 *
 * For the full copyright and license information, please view the license
 * file that was distributed with this source code.
 */

/**
 * Social Media Service where we are going to publish/unpublish to.
 *
 * @author <NAME> <<EMAIL>>
 */
class Service
{
    protected $api;

    /**
     * Construct
     *
     * @param mixed $api
     */
    public function __construct(
        $api
    ) {
        $this->setApi($api);
    }

    /**
     * Get API
     *
     * @param mixed
     */
    public function getApi()
    {
        return $this->api;
    }

    /**
     * Publish
     */    
    public function publish()
    {
    
    }

    /**
     * Set API
     *
     * @return mixed
     */
    public function setApi($api)
    {
        $this->api = $api;
    }

    /**
     * Unpublish
     */
    public function unpublish()
    {
    
    }
}
{'fraction_non_alphanumeric': 0.12083105522143248, 'fraction_numerical': 0.0, 'mean_word_length': 1.7232142857142858, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3359596', 'n_tokens_mistral': 560, 'n_tokens_neox': 553, 'n_words': 164}