<commit_before><?php

/**
 * AspectPHP_Reflection_DocComment
 *
 * @category PHP
 * @package AspectPHP_Reflection
 * @author <NAME> <<EMAIL>>
 * @copyright 2012 <NAME>
 * @license http://www.opensource.org/licenses/BSD-3-Clause BSD License
 * @link https://github.com/Matthimatiker/AspectPHP
 * @since 16.04.2012
 */

/**
 * Represents a doc comment.
 *
 * Provides method to extract information from the comment.
 *
 * @category PHP
 * @package AspectPHP_Reflection
 * @author <NAME> <<EMAIL>>
 * @copyright 2012 <NAME>
 * @license http://www.opensource.org/licenses/BSD-3-Clause BSD License
 * @link https://github.com/Matthimatiker/AspectPHP
 * @since 16.04.2012
 */
class AspectPHP_Reflection_DocComment
{
    
    /**
     * The comment block.
     *
     * @var string
     */
    protected $comment = null;
    
    /**
     * Creates a comment object.
     *
     * @param string $comment The doc block comment.
     * @throws InvalidArgumentException If no string is passed.
     */
    public function __construct($comment)
    {
        if (!is_string($comment)) {
            throw new InvalidArgumentException('Comment must be a string.');
        }
        $this->comment = $comment;
    }
    
    /**
     * Returns the comment.
     *
     * @return string
     */
    public function __toString()
    {
        return $this->comment;
    }
    
}<commit_msg>added method stubs<commit_after><?php

/**
 * AspectPHP_Reflection_DocComment
 *
 * @category PHP
 * @package AspectPHP_Reflection
 * @author <NAME> <<EMAIL>>
 * @copyright 2012 <NAME>
 * @license http://www.opensource.org/licenses/BSD-3-Clause BSD License
 * @link https://github.com/Matthimatiker/AspectPHP
 * @since 16.04.2012
 */

/**
 * Represents a doc comment.
 *
 * Provides method to extract information from the comment.
 *
 * @category PHP
 * @package AspectPHP_Reflection
 * @author <NAME> <<EMAIL>>
 * @copyright 2012 <NAME>
 * @license http://www.opensource.org/licenses/BSD-3-Clause BSD License
 * @link https://github.com/Matthimatiker/AspectPHP
 * @since 16.04.2012
 */
class AspectPHP_Reflection_DocComment
{
    
    /**
     * The comment block.
     *
     * @var string
     */
    protected $comment = null;
    
    /**
     * Creates a comment object.
     *
     * @param string $comment The doc block comment.
     * @throws InvalidArgumentException If no string is passed.
     */
    public function __construct($comment)
    {
        if (!is_string($comment)) {
            throw new InvalidArgumentException('Comment must be a string.');
        }
        $this->comment = $comment;
    }
    
    /**
     * Checks if the comment contains a tag with the provided name.
     *
     * Example:
     * <code>
     * $isAvailable = $comment->hasTag('return');
     * </code>
     *
     * @param string $name
     * @return boolean True if the tag exists, false otherwise.
     */
    public function hasTag($name)
    {
        
    }
    
    /**
     * Returns the values that are assigned to the tags
     * with the provided name.
     *
     * Returns an array of values as each tag may occur more than once.
     *
     * Example:
     * <code>
     * $values = $comment->getTags('param');
     * </code>
     *
     * @param string $name
     * @return array(string|boolean)
     */
    public function getTags($name)
    {
        
    }
    
    /**
     * Returns the comment.
     *
     * @return string
     */
    public function __toString()
    {
        return $this->comment;
    }
    
}
{'fraction_non_alphanumeric': 0.12386104783599089, 'fraction_numerical': 0.014806378132118452, 'mean_word_length': 2.2557924003707135, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 29, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '7381011', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1055, 'n_words': 276}