Property | Type | Description | |
---|---|---|---|
$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 |
Method | Description | |
---|---|---|
__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 __construct ( null | string $fullName = null ) | ||
$fullName | null | string |
public countKeywords ( ) : integer | ||
return | integer | Total nb of keywords for this bundle |
public getActivities ( null | integer $page = null, integer $limit = 15 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
return | Traversable |
public getCanonicalConfig ( ) : string | ||
return | string |
public getContributors ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
return | Traversable |
public getCreatedAt ( ) : DateTime | ||
return | DateTime |
public getDaysSinceLastCommit ( ) : integer | ||
return | integer |
public getFavorers ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
return | Traversable |
public getFullName ( ) : string | ||
return | string |
public getGitHubUrl ( ) : string | ||
return | string |
public getKeywords ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public getLastCheckAt ( ) : DateTime | ||
return | DateTime |
public getLastCommitAt ( ) : DateTime | ||
return | DateTime |
public getLastTweetedAt ( ) : null | DateTime | ||
return | null | DateTime |
public getLatestActivities ( $type = Activity::ACTIVITY_TYPE_COMMIT ) |
public getNbContributors ( ) : integer | ||
return | integer |
public getPackagistUrl ( ) : string | ||
return | string |
public getRecommenders ( null | integer $page = null, integer $limit = 20 ) : Traversable | ||
$page | null | integer | |
$limit | integer | |
return | Traversable |
public getShortName ( ) : string | ||
return | string |
public getStatusHash ( ) : string | ||
return | string |
public getSymfonyVersions ( ) : array | null | ||
return | array | null |
public getTravisCiBuildStatus ( ) : string | ||
return | string |
public getTravisUrl ( ) : string | ||
return | string |
public getUpdatedAt ( ) : DateTime | ||
return | DateTime |
public getUsesTravisCi ( ) : boolean | ||
return | boolean |
public getVersionsHistory ( ) : array | ||
return | array |
public hasKeyword ( |
||
$keyword | ||
return | boolean |
public isOwnerOrContributor ( |
||
$owner | ||
return | boolean |
public recalculateScore ( ) |
public removeRecommender ( |
||
$developer |
public setCanonicalConfig ( $canonicalConfig ) | ||
$canonicalConfig |
public setContributors ( array $contributors ) | ||
$contributors | array |
public setCreatedAt ( DateTime $createdAt ) | ||
$createdAt | DateTime |
public setDescription ( string $description ) | ||
$description | string |
public setIndexedAt ( DateTime $indexedAt ) | ||
$indexedAt | DateTime |
public setLastCheckAt ( DateTime $lastCheckAt ) | ||
$lastCheckAt | DateTime |
public setLastCommitAt ( DateTime $lastCommitAt ) | ||
$lastCommitAt | DateTime |
public setLastTweetedAt ( DateTime $lastTweetedAt ) | ||
$lastTweetedAt | DateTime |
public setLicenseType ( string $license ) | ||
$license | string |
public setNbFollowers ( integer $nbFollowers ) | ||
$nbFollowers | integer |
public setNbRecommenders ( integer $nbRecommenders ) | ||
$nbRecommenders | integer |
public setOwnerName ( string $ownerName ) | ||
$ownerName | string |
public setTravisCiBuildStatus ( string $status ) | ||
$status | string |
public setUsesTravisCi ( boolean $uses ) | ||
$uses | boolean |
public setVersionsHistory ( array $versions ) | ||
$versions | array |
public toBigArray ( ) : array | ||
return | array |
public updateScore ( integer $points = 1 ) | ||
$points | integer |
protected Collection,Doctrine\Common\Collections $activities | ||
return | Doctrine\Common\Collections\Collection |
protected $canonicalConfig |
protected Collection,Doctrine\Common\Collections $contributors | ||
return | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $favorers | ||
return | Doctrine\Common\Collections\Collection |
protected Collection,Doctrine\Common\Collections $keywords | ||
return | Doctrine\Common\Collections\Collection |
protected $lastTweetedAt |
protected $license |
protected $licenseType |
protected $name |
protected Collection,Doctrine\Common\Collections $owner | ||
return | Doctrine\Common\Collections\Collection |
protected $ownerName |
protected $ownerType |
protected Collection,Doctrine\Common\Collections $recommenders | ||
return | Doctrine\Common\Collections\Collection |
protected $score |
protected array $scoreDetails | ||
return | array |
protected Collection,Doctrine\Common\Collections $scores | ||
return | Doctrine\Common\Collections\Collection |
protected $travisCiBuildStatus |