internetpixels/session-manager

View on GitHub
src/Entities/SessionEntity.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace InternetPixels\SessionManager\Entities;

/**
 * Class SessionEntity
 * @package InternetPixels\SessionManager\Entities
 */
class SessionEntity {

    /**
     * @var
     */
    protected $id;

    /**
     * @var string
     */
    protected $name;

    /**
     * @var string
     */
    protected $value;

    /**
     * @return mixed
     */
    public function getId() {
        return $this->id;
    }

    /**
     * @param mixed $id
     */
    public function setId( $id ) {
        $this->id = $id;
    }

    /**
     * @return string
     */
    public function getName(): string {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName( string $name ) {
        $this->name = $name;
    }

    /**
     * @return string
     */
    public function getValue(): string {
        return $this->value;
    }

    /**
     * @param string $value
     */
    public function setValue( string $value ) {
        $this->value = $value;
    }

}