/** * Load methods metadata. * * @return array * @throws \Timiki\Bundle\RpcServerBundle\Server\Exceptions\InvalidMappingException */ protected function loadMetadata() { return $this->mapper === null ? [] : $this->mapper->loadMetadata(); }