<commit_before><?php

/**
 * Super class for all specific Managers
 *
 * Provides basic CRUD operations for sub-classes
 */
abstract class Storymarket_Base_Manager
{
    /**
     * A reference to the instantiated {@link Storymarket} object this was
     * created from.
     *
     * @var $_api Storymarket
     */
    protected $_api = null;

    /**
     * Should be overriden by sub-classes to provide the specific resource
     * class for this instance of Manager
     *
     * @var $_resource_class string
     */
    protected $_resource_class = null;

    /**
     * Handle instantiation
     *
     * @param $api Storymarket
     */
    public function __construct(Storymarket $api, $handler=null) {
        $this->_api = $api;
        $this->_handler = empty($handler) ? new Storymarket_RequestHandler($api, $this) : $handler;
    }

    abstract public function all();
    abstract public function get($resource);
    abstract public function delete($resource);
    abstract public function create($resource);
    abstract public function update($resource);
}

<commit_msg>remove these - not required part of the Manager<commit_after><?php

/**
 * Super class for all specific Managers
 *
 * Provides basic CRUD operations for sub-classes
 */
abstract class Storymarket_Base_Manager
{
    /**
     * A reference to the instantiated {@link Storymarket} object this was
     * created from.
     *
     * @var $_api Storymarket
     */
    protected $_api = null;

    /**
     * Should be overriden by sub-classes to provide the specific resource
     * class for this instance of Manager
     *
     * @var $_resource_class string
     */
    protected $_resource_class = null;

    /**
     * Handle instantiation
     *
     * @param $api Storymarket
     */
    public function __construct(Storymarket $api, $handler=null) {
        $this->_api = $api;
        $this->_handler = empty($handler) ? new Storymarket_RequestHandler($api, $this) : $handler;
    }

    abstract public function all();
    abstract public function get($resource);
}


{'fraction_non_alphanumeric': 0.09961127308066084, 'fraction_numerical': 0.0, 'mean_word_length': 2.7436363636363637, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7199274', 'n_tokens_mistral': 556, 'n_tokens_neox': 546, 'n_words': 183}