Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
50.00% covered (warning)
50.00%
1 / 2
CRAP
75.00% covered (warning)
75.00%
3 / 4
Direct
0.00% covered (danger)
0.00%
0 / 1
50.00% covered (warning)
50.00%
1 / 2
2.06
75.00% covered (warning)
75.00%
3 / 4
 __construct($controllerActionApi, $serializer)
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
3 / 3
 transmit($params)
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
<?php
/**
 *
 */
namespace aae\dispatch\caller {
    /**
     * @author Axel Ancona Esselmann
     * @package aae\dispatch\caller
     */
    class Direct implements \aae\dispatch\caller\CallerInterface {
        use \aae\log\LoggableTrait;
        public function __construct($controllerActionApi, $serializer) {
            $this->_controllerActionApi = $controllerActionApi;
            $this->_serializer = $serializer;
        }
        public function transmit($params) {
            return $this->_serializer->unserialize($this->_controllerActionApi->run());
        }
    }
}