@param int $id

@return Model\Manga\CharacterListItem[]
@throws Exception\BadResponseException
@throws ParserException
491741
public function MangaCharacters(int $id): array
    {
        return $this->myanimelist->getMangaCharacters(
            new Request\Manga\MangaCharactersRequest($id)
        );
    }
1046620
public function getItemDetails($id)
    {
        $comment = new Comment();
        $comment->setDb($this->di->get("db"));
        $comment->find("id", $id);
        return $comment;
    }
1131576
public function normalizeID($id)
    {
        $primary_keys = $this->getPrimaryKey();

        if (!is_array($id)) {
            $key = $primary_keys[0];
            $id = [$key => $id];
        }

        $result = [];
        foreach ($primary_keys as $key) {
            if (!isset($id[$key])) {
                throw new Exception\UnexpectedPropertyValueException('Illegal id value');
            }

            $result[$key] = $id[$key];
        }

        return $result;
    }
762990
public function getIdsDependingOn($id)
    {
        $resolved = [];
        $unresolved = [];
        $this->dependencyResolve($id, $resolved, $unresolved);

        return array_keys($resolved);
    }
1318908
protected function _getMetadatas($id)
    {
        if (isset($this->_metadatasArray[$id])) {
            return $this->_metadatasArray[$id];
        } else {
            $metadatas = $this->_loadMetadatas($id);
            if (!$metadatas) {
                return false;
            }
            $this->_setMetadatas($id, $metadatas, false);
            return $metadatas;
        }
    }
161425
public function getTaxonomiesWithArcRoleTypeId( $id )
	{
		return array_filter( $this->importedSchemas, function( /** @var XBRL $taxonomy */ $taxonomy ) use( $id )
		{
			return $taxonomy->hasArcRoleTypeId( $id ); }
		);
	}
336834
public function exportById($id): array
    {
        $globalSet = Craft::$app->globals->getSetById((int) $id);

        return $this->export($globalSet);
    }
1354393
public function editAction($id)
    {
        $this->registerBreadcrubms()->addItem($this->get("translator")->trans("Edit"));

        $entity = $this->getRepository()->find($id);

        if (!$entity) {
            throw $this->createNotFoundException('Unable to find ' . $this->getEntityName() . '.');
        }

        $editForm = $this->createEditForm($entity);

        return [
            'entity' => $entity,
            'form' => $editForm->createView(),
        ];
    }
93277
public function Manga(int $id): Model\Manga\Manga
    {
        return $this->myanimelist->getManga(
            new Request\Manga\MangaRequest($id)
        );
    }
976755
public function getImages($id)
    {
        $data   = $this->getApi()->getImages($id);
        $person = $this->getFactory()->create(['images' => $data]);

        return $person->getImages();
    }
1129473
static public function getIdParents($id = null)
    {
        $id = ($id) ? $id : self::getIdActiveMenu();
        
        $idParent = self::getMapIdParent();
        
        if (!is_array( $id ))
        {
            if (isset( $idParent[ $id ] ))
            {
                $id = array($id);
            }
            else
            {
                return array();
            }
        }
        
        if (isset( $idParent[ end( $id ) ] ))
        {
            if (isset($idParent[ $idParent[ end( $id ) ] ]))
            {
                $id[] = $idParent[ end( $id ) ];
                return self::getIdParents($id);
            }
        }        
        
        return array_reverse( $id );       
    }
861248
public function getSinglePublicKey(int $id): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/user/keys/:id', (string)$id));
    }
328579
public function get(string $id = null): array
    {
        if ($this->has($id)) {
            return $this->cache[$id];
        }

        return [];
    }
837847
public function AnimeRecommendations(int $id): array
    {
        return $this->myanimelist->getAnimeRecommendations(
            new Request\Anime\AnimeRecommendationsRequest($id)
        );
    }
678818
public function exportById($id): array
    {
        $site = Craft::$app->sites->getSiteById((int) $id);

        return $this->export($site);
    }
1088972
public function exportById($id): array
    {
        $transform = Craft::$app->assetTransforms->getTransformById((int) $id);

        return $this->export($transform);
    }
562993
public function buildIds(string $id): array
    {
        $ids = [];
        $range = $this->buildRange($id);

        $from = $range->getFrom();
        $to = $range->getTo();
        $step = $range->getStep();
        for ($currentIndex = $from; $currentIndex <= $to; $currentIndex += $step) {
            $ids[
                str_replace(
                    $this->token,
                    $currentIndex,
                    $range->getName()
                )
            ] = $currentIndex;
        }

        return $ids;
    }