프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$activities | Doctrine\Common\Collections\Collection | ||
$canonicalConfig | The bundle canonical configuration yaml extracted from bundle's repo | ||
$composerName | Composer name | ||
$contributors | Doctrine\Common\Collections\Collection | Developers who contributed to the Repo | |
$createdAt | Repo creation date (on this website) | ||
$description | Repo description | ||
$favorers | Doctrine\Common\Collections\Collection | Developers who has favorited the bundle | |
$homepage | The website url, if any | ||
$id | |||
$indexedAt | Last indexing time. | ||
$isFork | True if the Repo is a fork | ||
$keywords | Doctrine\Common\Collections\Collection | Bundle keywords | |
$lastCheckAt | Date of the last successful GitHub check | ||
$lastCommitAt | Date of the last Git commit | ||
$lastTweetedAt | Date when bundle was tweeted from knplabs account. | ||
$license | The bundle license text extracted from source code | ||
$licenseType | The bundle license type extracted from composer.json | ||
$name | Repo name, e.g. "MarkdownBundle" Like in GitHub, this name is not unique | ||
$nbFavorers | |||
$nbFollowers | Number of GitHub followers | ||
$nbForks | Number of GitHub forks | ||
$nbRecommenders | |||
$owner | Doctrine\Common\Collections\Collection | Owner of the bundle | |
$ownerName | The name of the owner who owns this bundle This value is redundant with the name of the referenced Owner, for performance reasons | ||
$ownerType | The type of the owner who owns this bundle This value is redundant with the class of the referenced Owner, for performance reasons | ||
$readme | The bundle readme text extracted from source code | ||
$recommenders | Doctrine\Common\Collections\Collection | Developers recommending the bundle | |
$score | Internal score of the Repo, based on several indicators Defines the Repo position in lists and searches | ||
$scoreDetails | array | Latest score's details | |
$scores | Doctrine\Common\Collections\Collection | Internal scores | |
$state | Status of bundle | ||
$travisCiBuildStatus | Travis Ci last build status | ||
$trend1 | Trend over the last day. Max is better. | ||
$updatedAt | Repo update date (on this website) | ||
$usesTravisCi | True if the Repo uses Travis CI | ||
$versionsHistory | Bundle versions history |
메소드 | 설명 | |
---|---|---|
__construct ( null | string $fullName = null ) | ||
__toString ( ) | ||
addActivity ( |
||
addFavorer ( |
||
addKeyword ( |
||
addRecommender ( |
||
addScoreDetail ( $name, $value ) | ||
countKeywords ( ) : integer | ||
fromArray ( array $data ) | ||
getActivities ( null | integer $page = null, integer $limit = 15 ) : Traversable | Get activities | |
getCanonicalConfig ( ) : string | Get canonicalConfig | |
getClass ( ) | ||
getComposerName ( ) : string | Get Composer name | |
getContributorNames ( ) | ||
getContributors ( null | integer $page = null, integer $limit = 20 ) : Traversable | Get contributors | |
getCreatedAt ( ) : DateTime | Get the bundle creation date | |
getDaysSinceLastCommit ( ) : integer | Returns the number of days elapsed since the last commit on the master branch | |
getDescription ( null | integer $cutAfter = null ) : string | Get description | |
getFavorers ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
getFullName ( ) : string | Get full name, including ownerName | |
getGitHubUrl ( ) : string | Get the GitHub url of this bundle | |
getGitUrl ( ) : string | Get the Git repo url | |
getHomepage ( ) : string | Get homepage | |
getId ( ) : string | Get id | |
getIndexedAt ( ) : DateTime | Get indexedAt | |
getIsFork ( ) : boolean | Get isFork | |
getKeywords ( ) : Doctrine\Common\Collections\Collection | ||
getLastCheckAt ( ) : DateTime | Get the date of last check | |
getLastCommitAt ( ) : DateTime | Get the date of the last commit | |
getLastTweetedAt ( ) : null | DateTime | Get lastTweetedAt | |
getLatestActivities ( $type = Activity::ACTIVITY_TYPE_COMMIT ) | ||
getLatestScoreDetails ( ) | ||
getLicense ( ) : string | Get license data | |
getLicenseType ( ) : string | Get license type | |
getName ( ) : string | Get name | |
getNbContributors ( ) : integer | Get the number of contributors | |
getNbFavorers ( ) | ||
getNbFollowers ( ) : integer | Get followers | |
getNbForks ( ) : integer | Get forks | |
getNbRecommenders ( ) | ||
getOwner ( ) : |
||
getOwnerName ( ) : string | Get ownername | |
getOwnerType ( ) : string | ||
getPackagistUrl ( ) : string | Get the Packagist url of this repo | |
getReadme ( ) : string | Get readme | |
getRecommenders ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
getScore ( ) : integer | Get score | |
getScoreDetails ( ) | Returns details about the bundle's score | |
getScores ( integer $limit = null ) : array | Get all historical scores indexed by date | |
getShortName ( ) : string | Get the first part of the name, without Bundle | |
getState ( ) : string | Get the status of bundle | |
getStatusHash ( ) : string | Unique string which shows current status of the bundle | |
getSymfonyVersions ( ) : array | null | Get required versions of Symfony from bundle Versions History | |
getTravisCiBuildStatus ( ) : string | Get Travis Ci last build status | |
getTravisUrl ( ) : string | Get the Travis Ci url of this bundle | |
getTrend1 ( ) : integer | Get the trend over the last day | |
getUpdatedAt ( ) : DateTime | Get the bundle update date | |
getUsesTravisCi ( ) : boolean | Get whether bundle uses Travis CI | |
getVersionsHistory ( ) : array | Get bundle versions history | |
hasChanges ( ) : boolean | ||
hasKeyword ( |
||
isInitialized ( ) | ||
isOwnerOrContributor ( |
||
markAsCreated ( ) | ||
markAsUpdated ( ) | ||
recalculateScore ( ) | Calculate the score of this bundle based on several factors. | |
removeFavorer ( |
||
removeRecommender ( |
||
setCanonicalConfig ( $canonicalConfig ) | Set canonicalConfig | |
setComposerName ( $name ) | Set Composer name | |
setContributors ( array $contributors ) | Set contributors | |
setCreatedAt ( DateTime $createdAt ) | Set the bundle creation date | |
setDescription ( string $description ) | Set description | |
setHomepage ( string $homepage ) | Set homepage | |
setIndexedAt ( DateTime $indexedAt ) | Set indexedAt | |
setIsFork ( boolean $isFork ) | Set isFork | |
setLastCheckAt ( DateTime $lastCheckAt ) | Set the date of last check | |
setLastCommitAt ( DateTime $lastCommitAt ) | Set lastCommitAt | |
setLastTweetedAt ( DateTime $lastTweetedAt ) | Set lastTweetedAt | |
setLicense ( string $license ) | Set license data | |
setLicenseType ( string $license ) | Set license type | |
setName ( $name ) | Set name | |
setNbFavorers ( integer $nbFavorers ) | ||
setNbFollowers ( integer $nbFollowers ) | Set followers | |
setNbForks ( integer $nbForks ) | Set forks | |
setNbRecommenders ( integer $nbRecommenders ) | ||
setOwner ( |
||
setOwnerName ( string $ownerName ) | Set ownerName | |
setReadme ( string $readme ) | Set readme | |
setScore ( integer $score ) | Set score | |
setScoreDetails ( array $details ) | ||
setState ( $state ) | Set status of bundle | |
setTravisCiBuildStatus ( string $status ) | Set Travis Ci last build status | |
setUsesTravisCi ( boolean $uses ) | Set whether bundle uses Travis CI | |
setVersionsHistory ( array $versions ) | Set bundle versions history | |
toBigArray ( ) : array | Get an array representing the Repo | |
toSmallArray ( ) | ||
updateScore ( integer $points = 1 ) | Updates bundle score with given amount of points |
public countKeywords ( ) : integer | ||
리턴 | integer | Total nb of keywords for this bundle |
public getActivities ( null | integer $page = null, integer $limit = 15 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
리턴 | Traversable |
public getContributors ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
리턴 | Traversable |
public getDaysSinceLastCommit ( ) : integer | ||
리턴 | integer |
public getFavorers ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
리턴 | Traversable |
public getKeywords ( ) : Doctrine\Common\Collections\Collection | ||
리턴 | Doctrine\Common\Collections\Collection |
public getLastCommitAt ( ) : DateTime | ||
리턴 | DateTime |
public getLastTweetedAt ( ) : null | DateTime | ||
리턴 | null | DateTime |
public getNbContributors ( ) : integer | ||
리턴 | integer |
public getPackagistUrl ( ) : string | ||
리턴 | string |
public getRecommenders ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
리턴 | Traversable |
public getShortName ( ) : string | ||
리턴 | string |
public getStatusHash ( ) : string | ||
리턴 | string |
public getSymfonyVersions ( ) : array | null | ||
리턴 | array | null |
public getTravisCiBuildStatus ( ) : string | ||
리턴 | string |
public getTravisUrl ( ) : string | ||
리턴 | string |
public getUsesTravisCi ( ) : boolean | ||
리턴 | boolean |
public getVersionsHistory ( ) : array | ||
리턴 | array |
public isOwnerOrContributor ( |
||
$owner | ||
리턴 | boolean |
public recalculateScore ( ) |
public setCanonicalConfig ( $canonicalConfig ) | ||
$canonicalConfig |
public setContributors ( array $contributors ) | ||
$contributors | array |
public setCreatedAt ( DateTime $createdAt ) | ||
$createdAt | DateTime |
public setDescription ( string $description ) | ||
$description | string |
public setLastCheckAt ( DateTime $lastCheckAt ) | ||
$lastCheckAt | DateTime |
public setLastCommitAt ( DateTime $lastCommitAt ) | ||
$lastCommitAt | DateTime |
public setLastTweetedAt ( DateTime $lastTweetedAt ) | ||
$lastTweetedAt | DateTime |
public setNbFollowers ( integer $nbFollowers ) | ||
$nbFollowers | integer |
public setNbRecommenders ( integer $nbRecommenders ) | ||
$nbRecommenders | integer |
public setTravisCiBuildStatus ( string $status ) | ||
$status | string |
public setUsesTravisCi ( boolean $uses ) | ||
$uses | boolean |
public setVersionsHistory ( array $versions ) | ||
$versions | array |
public updateScore ( integer $points = 1 ) | ||
$points | integer |
protected Collection,Doctrine\Common\Collections $activities | ||
리턴 | Doctrine\Common\Collections\Collection |
protected $canonicalConfig |
protected Collection,Doctrine\Common\Collections $contributors | ||
리턴 | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $favorers | ||
리턴 | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $keywords | ||
리턴 | Doctrine\Common\Collections\Collection |
protected $lastTweetedAt |
protected $licenseType |
protected $name |
protected Collection,Doctrine\Common\Collections $owner | ||
리턴 | Doctrine\Common\Collections\Collection |
protected $ownerName |
protected $ownerType |
protected Collection,Doctrine\Common\Collections $recommenders | ||
리턴 | Doctrine\Common\Collections\Collection |
protected $score |
protected Collection,Doctrine\Common\Collections $scores | ||
리턴 | Doctrine\Common\Collections\Collection |