Knp\Bundle\KnpBundlesBundle\Entity\Bundle::toSmallArray PHP Method

toSmallArray() public method

public toSmallArray ( )
    public function toSmallArray()
    {
        return array('type' => $this->getClass(), 'name' => $this->getName(), 'ownerName' => $this->getOwnerName(), 'description' => $this->getDescription(), 'homepage' => $this->getHomepage(), 'score' => $this->getScore(), 'nbFollowers' => $this->getNbFollowers(), 'nbForks' => $this->getNbForks(), 'createdAt' => $this->getCreatedAt()->getTimestamp(), 'lastCommitAt' => $this->getLastCommitAt()->getTimestamp(), 'contributors' => $this->getContributorNames());
    }