/
home
/
henzagold
/
server
/
vendor
/
mockery
/
mockery
/
library
/
Mockery
/
Generator
/
File Upload :
llllll
Current File: /home/henzagold/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; 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; } }
Copyright ©2k19 -
Hexid
|
Tex7ure