Source of file TestShippableProduct.php
Size: 0,708 Bytes - Last Modified: 2021-12-24T06:46:07+00:00
/var/www/docs.ssmods.com/process/src/tests/TestOnly/TestShippableProduct.php
12345678910111213141516171819202122232425262728293031323334353637 | <?php namespace Dynamic\Foxy\Test\TestOnly; use Dynamic\Foxy\Extension\Purchasable; use Dynamic\Foxy\Extension\Shippable; use Intervention\Image\Image; use SilverStripe\Core\Injector\Injector; use SilverStripe\Dev\TestOnly; /** * Class TestShippableProduct * @package Dynamic\Foxy\Test\TestOnly */ class TestShippableProduct extends \Page implements TestOnly { /** * @var string */ private static $table_name = 'TestShippableProduct'; /** * @var string[] */ private static $extensions = [ Purchasable::class, Shippable::class, ]; /* public function getImage() { return Injector::inst()->create(Image::class); } */ } |