<?php
namespace spiral\framework\di\fixtures\definition;
use spiral\framework\di\definition\DefaultArgument;
use spiral\framework\di\fixtures\construction\MockArgumentConstructionStrategy;
class MockArgument extends DefaultArgument
{
protected $_value = null;
public function __construct($value)
{
$this->setValue($value);
$this->setConstructionStrategy(new MockArgumentConstructionStrategy());
}
public function getValue()
{
return $this->_value;
}
public function setValue($value)
{
$this->_value = $value;
}
}