PHP Class Newscoop\Package\PackageSearchService

Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$orm Doctrine\ORM\EntityManager
$repository Doctrine\ORM\EntityRepository

Public Methods

Method Description
__construct ( EntityManager $orm )
find ( string $query ) : array Perform a query

Method Details

__construct() public method

public __construct ( EntityManager $orm )
$orm Doctrine\ORM\EntityManager

find() public method

Perform a query
public find ( string $query ) : array
$query string
return array

Property Details

$orm protected property

protected Doctrine\ORM\EntityManager $orm
return Doctrine\ORM\EntityManager

$repository protected property

protected Doctrine\ORM\EntityRepository $repository
return Doctrine\ORM\EntityRepository