<commit_before><?php namespace Hpolthof\Admin\Widget;


class Box extends Widget
{
    public $title;
    public $header;
    public $footer;
    public $body;
    public $tools;
    public $class;

    protected $collapsible = false;
    protected $collapsed = true;

    protected $removable = false;

    protected $maxHeight = null;


    /**
     * @param mixed $tools
     * @return Box
     */
    public function setTools($tools)
    {
        $this->tools = $tools;
        return $this;
    }

    /**
     * @param mixed $title
     * @return Box
     */
    public function setTitle($title)
    {
        $this->title = $title;
        return $this;
    }

    /**
     * @param mixed $header
     * @return Box
     */
    public function setHeader($header)
    {
        $this->header = $header;
        return $this;
    }

    /**
     * @param mixed $footer
     * @return Box
     */
    public function setFooter($footer)
    {
        $this->footer = $footer;
        return $this;
    }

    /**
     * @param mixed $body
     * @return Box
     */
    public function setBody($body)
    {
        $this->body = $body;
        return $this;
    }

    public function render()
    {
        return view('admin::widget.box', ['box' => $this]);
    }

    /**
     * You can set colours to the top of the box using box-primary, box-success, etc.
     * @param mixed $class
     * @return Box
     */
    public function setClass($class)
    {
        $this->class = $class;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isCollapsible()
    {
        return $this->collapsible;
    }

    /**
     * @param boolean $collapsible
     * @return Box
     */
    public function setCollapsible($collapsible)
    {
        $this->collapsible = $collapsible;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isCollapsed()
    {
        return $this->collapsed;
    }

    /**
     * @param boolean $collapsed
     * @return Box
     */
    public function setCollapsed($collapsed)
    {
        $this->collapsed = $collapsed;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isRemovable()
    {
        return $this->removable;
    }

    /**
     * @param boolean $removable
     * @return Box
     */
    public function setRemovable($removable)
    {
        $this->removable = $removable;
        return $this;
    }

    /**
     * @return null
     */
    public function getMaxHeight()
    {
        return $this->maxHeight;
    }

    /**
     * @param null $maxHeight
     * @return Box
     */
    public function setMaxHeight($maxHeight)
    {
        $this->maxHeight = $maxHeight;
        return $this;
    }





}<commit_msg>Padding<commit_after><?php namespace Hpolthof\Admin\Widget;


class Box extends Widget
{
    public $title;
    public $header;
    public $footer;
    public $body;
    public $tools;
    public $class;
    public $no_padding = false;

    protected $collapsible = false;
    protected $collapsed = true;

    protected $removable = false;

    protected $maxHeight = null;


    /**
     * @param mixed $tools
     * @return Box
     */
    public function setTools($tools)
    {
        $this->tools = $tools;
        return $this;
    }

    /**
     * @param mixed $title
     * @return Box
     */
    public function setTitle($title)
    {
        $this->title = $title;
        return $this;
    }

    /**
     * @param mixed $header
     * @return Box
     */
    public function setHeader($header)
    {
        $this->header = $header;
        return $this;
    }

    /**
     * @param mixed $footer
     * @return Box
     */
    public function setFooter($footer)
    {
        $this->footer = $footer;
        return $this;
    }

    /**
     * @param mixed $body
     * @return Box
     */
    public function setBody($body)
    {
        $this->body = $body;
        return $this;
    }

    public function render()
    {
        return view('admin::widget.box', ['box' => $this]);
    }

    /**
     * You can set colours to the top of the box using box-primary, box-success, etc.
     * @param mixed $class
     * @return Box
     */
    public function setClass($class)
    {
        $this->class = $class;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isCollapsible()
    {
        return $this->collapsible;
    }

    /**
     * @param boolean $collapsible
     * @return Box
     */
    public function setCollapsible($collapsible)
    {
        $this->collapsible = $collapsible;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isCollapsed()
    {
        return $this->collapsed;
    }

    /**
     * @param boolean $collapsed
     * @return Box
     */
    public function setCollapsed($collapsed)
    {
        $this->collapsed = $collapsed;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isRemovable()
    {
        return $this->removable;
    }

    /**
     * @param boolean $removable
     * @return Box
     */
    public function setRemovable($removable)
    {
        $this->removable = $removable;
        return $this;
    }

    /**
     * @return null
     */
    public function getMaxHeight()
    {
        return $this->maxHeight;
    }

    /**
     * @param null $maxHeight
     * @return Box
     */
    public function setMaxHeight($maxHeight)
    {
        $this->maxHeight = $maxHeight;
        return $this;
    }

    /**
     * @return boolean
     */
    public function isNoPadding()
    {
        return $this->no_padding;
    }

    /**
     * @param boolean $no_padding
     * @return Box
     */
    public function setNoPadding($no_padding = true)
    {
        $this->no_padding = $no_padding;
        return $this;
    }

}
{'fraction_non_alphanumeric': 0.12610469068660776, 'fraction_numerical': 0.0, 'mean_word_length': 1.6568848758465011, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '5130387', 'n_tokens_mistral': 1841, 'n_tokens_neox': 1797, 'n_words': 423}