Medusa\Stack\PersistentStack::push PHP Method

push() public method

public push ( $value )
    public function push($value)
    {
        return new self($value, $this, $this->count + 1);
    }