<commit_before><?php
/**
 * @title          Interface Api Class
 *
 * @author         <NAME> <<EMAIL>>
 * @copyright      (c) 2012-2016, <NAME>. All Rights Reserved.
 * @license        GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 * @package        PH7 / App / System / Module / Connect / Inc / Class
 * @version        1.1
 */
namespace PH7;
defined('PH7') or exit('Restricted access');

interface IApi
{

    /**
     * Set an user authentication.
     *
     * @param integer $iId
     * @param object \PH7\UserCoreModel $oUserModel
     * @return void
     */
    public function setLogin($iId, UserCoreModel $oUserModel);

    /**
     * Set Avatar.
     *
     * @param string $sUrl URL of avatar.
     * @return void
     */
    public function setAvatar($sUrl);

    /**
     * Get Avatar.
     *
     * @param string $sUrl
     * @return string The Avatar
     */
     public function getAvatar($sUrl);

    /**
     * Add User.
     *
     * @param array $aData
     * @param object \PH7\UserCoreModel $oUserModel
     * @return void
     */
    public function add(array $aData, UserCoreModel $oUserModel);

}<commit_msg>Remove interface method "add" since Facebook class work differently so not nedded anymore<commit_after><?php
/**
 * @title          Interface Api Class
 *
 * @author         <NAME> <<EMAIL>>
 * @copyright      (c) 2012-2016, <NAME>. All Rights Reserved.
 * @license        GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory.
 * @package        PH7 / App / System / Module / Connect / Inc / Class
 * @version        1.1
 */
namespace PH7;
defined('PH7') or exit('Restricted access');

interface IApi
{

    /**
     * Set an user authentication.
     *
     * @param integer $iId
     * @param object \PH7\UserCoreModel $oUserModel
     * @return void
     */
    public function setLogin($iId, UserCoreModel $oUserModel);

    /**
     * Set Avatar.
     *
     * @param string $sUrl URL of avatar.
     * @return void
     */
    public function setAvatar($sUrl);

    /**
     * Get Avatar.
     *
     * @param string $sUrl
     * @return string The Avatar
     */
     public function getAvatar($sUrl);
}
{'fraction_non_alphanumeric': 0.120233288470166, 'fraction_numerical': 0.014804845222072678, 'mean_word_length': 2.1497175141242937, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2888226', 'n_tokens_mistral': 705, 'n_tokens_neox': 677, 'n_words': 207}