Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param $type
- * @return null|string
- */
- protected function getMapperClass($type)
- {
- $potentialEndpointClass = 'SphereMall\\MS\\Lib\\Mappers\\' . ucfirst($type) . 'Mapper';
- if (class_exists($potentialEndpointClass)) {
- return $potentialEndpointClass;
- }
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement