added function read to EntityRepositoryInterface.php