<?php

namespace LaminasTest\Code\Reflection\TestAsset;

use LaminasTest\Code\Reflection\TestAsset\SampleAnnotation as Sample;

class TestSampleClass9
    extends Sample
    implements \IteratorAggregate
{
    protected $_prop1 = null;

    /**
     * @Sample({"foo":"bar"})
     */
    protected $_prop2 = null;

    public function getProp1()
    {
        return $this->_prop1;
    }

    public function getProp2($param1, TestSampleClass $param2)
    {
        return $this->_prop2;
    }

    public function getIterator(): \Traversable
    {
        return new \EmptyIterator();
    }

}
