src/Colorium/Web/Logic.php
public static function resolve($name, $callable)
    {
        $invokable = Resolver::of($callable);
        $annotations = $invokable->annotations();
        $annotations['method'] = $invokable;

        return new Logic($name, $annotations);
    }
public static function resolve($name, $callable)
    {
        $invokable = Resolver::of($callable);
        $annotations = $invokable->annotations();
        $annotations['method'] = $invokable;

        return new Logic($name, $annotations);
    }
public static function resolve ( $ name , $ callable ) { $ invokable = Resolver :: of ( $ callable ) ; $ annotations = $ invokable -> annotations ( ) ; $ annotations [ 'method' ] = $ invokable ; return new Logic ( $ name , $ annotations ) ; }
Resolve logic from callable

@param string $name
@param $callable
@return Logic
Resolve logic from callable