src/Repository/Job.php
public function findByOrganization($organizationId)
    {
        $criteria = $this->getIsDeletedCriteria([
            'organization' => new \MongoId($organizationId),
        ]);

        return $this->findBy($criteria);
    }
public function findByOrganization($organizationId)
    {
        $criteria = $this->getIsDeletedCriteria([
            'organization' => new \MongoId($organizationId),
        ]);

        return $this->findBy($criteria);
    }
public function findByOrganization ( $ organizationId ) { $ criteria = $ this -> getIsDeletedCriteria ( [ 'organization' => new \ MongoId ( $ organizationId ) , ] ) ; return $ this -> findBy ( $ criteria ) ; }
Selects job postings of a certain organization

@param int $organizationId
@return \Jobs\Entity\Job[]
Selects job postings of a certain organization