/
home
/
maktab
/
server
/
vendor
/
mockery
/
mockery
/
library
/
Mockery
/
Generator
/
File Upload :
llllll
Current File: /home/maktab/server/vendor/mockery/mockery/library/Mockery/Generator/MockDefinition.php
<?php /** * Mockery (https://docs.mockery.io/) * * @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md * @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License * @link https://github.com/mockery/mockery for the canonical source repository */ namespace Mockery\Generator; use InvalidArgumentException; class MockDefinition { protected $code; protected $config; 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 getClassName() { return $this->config->getName(); } public function getCode() { return $this->code; } public function getConfig() { return $this->config; } }
Copyright ©2k19 -
Hexid
|
Tex7ure