<commit_before><?php
/**
 * This file is part of the Zimbra API in PHP library.
 *
 * © <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Zimbra\Account\Struct;

use Zimbra\Common\TypedSequence;
use Zimbra\Struct\Base;

/**
 * AuthPrefs struct class
 * 
 * @package    Zimbra
 * @subpackage Account
 * @category   Struct
 * @author     <NAME> - <EMAIL>
 * @copyright  Copyright © 2013 by <NAME>.
 */
class AuthPrefs extends Base
{
    use PrefsImplTrail;

    /**
     * Returns the array representation of this class 
     *
     * @param  string $name
     * @return array
     */
    public function toArray($name = 'prefs')
    {
        return parent::toArray($name);
    }

    /**
     * Method returning the xml representative this class
     *
     * @param  string $name
     * @return SimpleXML
     */
    public function toXml($name = 'prefs')
    {
        return parent::toXml($name);
    }
}
<commit_msg>Added constructor<commit_after><?php
/**
 * This file is part of the Zimbra API in PHP library.
 *
 * © <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Zimbra\Account\Struct;

use Zimbra\Common\TypedSequence;
use Zimbra\Struct\Base;

/**
 * AuthPrefs struct class
 * 
 * @package    Zimbra
 * @subpackage Account
 * @category   Struct
 * @author     <NAME> - <EMAIL>
 * @copyright  Copyright © 2013 by <NAME>.
 */
class AuthPrefs extends Base
{
    use PrefsImplTrail;

    /**
     * AuthPrefs constructor.
     * @param null|string $value
     */
    public function __construct($value)
    {
        parent::__construct($value);
    }
    
    /**
     * Returns the array representation of this class 
     *
     * @param  string $name
     * @return array
     */
    public function toArray($name = 'prefs')
    {
        return parent::toArray($name);
    }

    /**
     * Method returning the xml representative this class
     *
     * @param  string $name
     * @return SimpleXML
     */
    public function toXml($name = 'prefs')
    {
        return parent::toXml($name);
    }
}

{'fraction_non_alphanumeric': 0.11334225792057118, 'fraction_numerical': 0.0035698348951361, 'mean_word_length': 2.4598765432098766, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6069350', 'n_tokens_mistral': 686, 'n_tokens_neox': 671, 'n_words': 210}