Location: PHPKode > projects > Spiral > ametaireau-spiral-272a2b1/framework/di/tests/fixtures/definition/MockArgument.php
<?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;
	}
}
Return current item: Spiral