ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/vendor/enshrined/svg-sanitize/src/ElementReference/
Upload File :
Current File : //home2/selectio/www/limpiar.in.net/vendor/enshrined/svg-sanitize/src/ElementReference/Usage.php

<?php
namespace enshrined\svgSanitize\ElementReference;

class Usage
{
    /**
     * @var Subject
     */
    protected $subject;

    /**
     * @var int
     */
    protected $count;

    /**
     * @param Subject $subject
     * @param int $count
     */
    public function __construct(Subject $subject, $count = 1)
    {
        $this->subject = $subject;
        $this->count = (int)$count;
    }

    /**
     * @param int $by
     */
    public function increment($by = 1)
    {
        $this->count += (int)$by;
    }

    /**
     * @return Subject
     */
    public function getSubject()
    {
        return $this->subject;
    }

    /**
     * @return int
     */
    public function getCount()
    {
        return $this->count;
    }
}

Zerion Mini Shell 1.0