PHP Class Knp\Bundle\KnpBundlesBundle\Entity\Developer

Inheritance: extends Owner, implements Symfony\Component\Security\Core\User\UserInterface
Afficher le fichier Open project: KnpLabs/KnpBundles Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( )
addActivity ( Activity $activity )
addContributionBundle ( Bundle $contributionBundle ) Add contribution Bundle
addFavoriteBundle ( Bundle $favoriteBundle ) Add favorite Bundle
addOrganization ( Organization $organization ) Add organizations
addRecommendedBundle ( Bundle $recommendedBundle ) Add recommended Bundle
eraseCredentials ( )
getActivities ( null | integer $page = null, integer $limit = 15 ) : Traversable Get activities
getAllBundles ( ) : array
getCompany ( ) : mixed
getContributionBundles ( null | integer $page = null, integer $limit = 15 ) : Traversable Get contributionBundles
getFavoriteBundles ( null | integer $page = null, integer $limit = 15 ) : Traversable Get favoriteBundles
getLastCommitAt ( ) : DateTime Get the date of the last commit
getLatestActivities ( $type = Activity::ACTIVITY_TYPE_COMMIT )
getOrganizations ( ) : Collection Get organizations
getPassword ( )
getRecommendedBundles ( null | integer $page = null, integer $limit = 15 ) : Traversable Get recommended Bundles
getRoles ( )
getSalt ( )
getUsername ( ) * ---------- Security User ----------
hasFavoritedBundle ( Bundle $bundle ) : boolean Check that user has favorited bundles
isEqualTo ( Developer $developer )
isUsingBundle ( Bundle $bundle ) : boolean Check that owner is using bundles
removeActivity ( Activity $activity )
removeContributionBundle ( Bundle $contributionBundle ) Remove contribution Bundle
removeFavoriteBundle ( Bundle $favoriteBundle ) Remove favorite Bundle
removeOrganization ( Organization $organization ) Remove organizations
removeRecommendedBundle ( Bundle $recommendedBundle ) Remove recommended Bundle
setCompany ( $company )
setLastCommitAt ( DateTime $lastCommitAt ) Set lastCommitAt
toSmallArray ( )

Method Details

__construct() public méthode

public __construct ( )

addActivity() public méthode

public addActivity ( Activity $activity )
$activity Activity

addContributionBundle() public méthode

Add contribution Bundle
public addContributionBundle ( Bundle $contributionBundle )
$contributionBundle Bundle

addFavoriteBundle() public méthode

Add favorite Bundle
public addFavoriteBundle ( Bundle $favoriteBundle )
$favoriteBundle Bundle

addOrganization() public méthode

Add organizations
public addOrganization ( Organization $organization )
$organization Organization

addRecommendedBundle() public méthode

Add recommended Bundle
public addRecommendedBundle ( Bundle $recommendedBundle )
$recommendedBundle Bundle

eraseCredentials() public méthode

public eraseCredentials ( )

getActivities() public méthode

Get activities
public getActivities ( null | integer $page = null, integer $limit = 15 ) : Traversable
$page null | integer
$limit integer
Résultat Traversable

getAllBundles() public méthode

public getAllBundles ( ) : array
Résultat array

getCompany() public méthode

public getCompany ( ) : mixed
Résultat mixed

getContributionBundles() public méthode

Get contributionBundles
public getContributionBundles ( null | integer $page = null, integer $limit = 15 ) : Traversable
$page null | integer
$limit integer
Résultat Traversable

getFavoriteBundles() public méthode

Get favoriteBundles
public getFavoriteBundles ( null | integer $page = null, integer $limit = 15 ) : Traversable
$page null | integer
$limit integer
Résultat Traversable

getLastCommitAt() public méthode

Get the date of the last commit
public getLastCommitAt ( ) : DateTime
Résultat DateTime

getLatestActivities() public méthode

public getLatestActivities ( $type = Activity::ACTIVITY_TYPE_COMMIT )

getOrganizations() public méthode

Get organizations
public getOrganizations ( ) : Collection
Résultat Collection

getPassword() public méthode

public getPassword ( )

getRecommendedBundles() public méthode

Get recommended Bundles
public getRecommendedBundles ( null | integer $page = null, integer $limit = 15 ) : Traversable
$page null | integer
$limit integer
Résultat Traversable

getRoles() public méthode

public getRoles ( )

getSalt() public méthode

public getSalt ( )

getUsername() public méthode

* ---------- Security User ----------
public getUsername ( )

hasFavoritedBundle() public méthode

Check that user has favorited bundles
public hasFavoritedBundle ( Bundle $bundle ) : boolean
$bundle Bundle
Résultat boolean

isEqualTo() public méthode

public isEqualTo ( Developer $developer )
$developer Developer

isUsingBundle() public méthode

Check that owner is using bundles
public isUsingBundle ( Bundle $bundle ) : boolean
$bundle Bundle
Résultat boolean

removeActivity() public méthode

public removeActivity ( Activity $activity )
$activity Activity

removeContributionBundle() public méthode

Remove contribution Bundle
public removeContributionBundle ( Bundle $contributionBundle )
$contributionBundle Bundle

removeFavoriteBundle() public méthode

Remove favorite Bundle
public removeFavoriteBundle ( Bundle $favoriteBundle )
$favoriteBundle Bundle

removeOrganization() public méthode

Remove organizations
public removeOrganization ( Organization $organization )
$organization Organization

removeRecommendedBundle() public méthode

Remove recommended Bundle
public removeRecommendedBundle ( Bundle $recommendedBundle )
$recommendedBundle Bundle

setCompany() public méthode

public setCompany ( $company )
$company

setLastCommitAt() public méthode

Set lastCommitAt
public setLastCommitAt ( DateTime $lastCommitAt )
$lastCommitAt DateTime

toSmallArray() public méthode

public toSmallArray ( )