%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/zgjedhjet2017/vendor/mockery/mockery/library/Mockery/Generator/
Upload File :
Create Path :
Current File : /var/www/html/zgjedhjet2017/vendor/mockery/mockery/library/Mockery/Generator/MockDefinition.php

<?php

namespace Mockery\Generator;

class MockDefinition
{
    protected $config;
    protected $code;

    public function __construct(MockConfiguration $config, $code)
    {
        if (!$config->getName()) {
            throw new \InvalidArgumentException("MockConfiguration must contain a name");
        }
        $this->config = $config;
        $this->code = $code;
    }

    public function getConfig()
    {
        return $this->config;
    }

    public function getClassName()
    {
        return $this->config->getName();
    }

    public function getCode()
    {
        return $this->code;
    }
}

Zerion Mini Shell 1.0